From 5ac8be21913aa329da4f9447478d2d13969a6664 Mon Sep 17 00:00:00 2001 From: syui Date: Fri, 26 Apr 2024 12:02:41 +0900 Subject: [PATCH] fix --- layouts/_default/single.html | 2 +- layouts/partials/head-blog.html | 43 +++++++++++++++++++++++++++++++++ static/css/blog.css | 4 +++ 3 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/head-blog.html create mode 100644 static/css/blog.css diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 3db85e23..23bdbbe8 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,4 +1,4 @@ -{{ partial "head.html" . }} +{{ partial "head-blog.html" . }} {{ partial "navbar.html" . }} {{ partial "header.html" . }} diff --git a/layouts/partials/head-blog.html b/layouts/partials/head-blog.html new file mode 100644 index 00000000..0fd1b22f --- /dev/null +++ b/layouts/partials/head-blog.html @@ -0,0 +1,43 @@ + + + + {{ .Title }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ range .AlternativeOutputFormats -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} + + diff --git a/static/css/blog.css b/static/css/blog.css new file mode 100644 index 00000000..337594c9 --- /dev/null +++ b/static/css/blog.css @@ -0,0 +1,4 @@ +.containerx { + padding: 0 250px; + width: auto; +}