From 5a8024a827b6dbb103712865261c9a5ebc2908f9 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 19 Apr 2022 19:29:38 +0900 Subject: add themes/mypaper, modified version of paper theme --- themes/mypaper/layouts/partials/header.html | 55 +++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 themes/mypaper/layouts/partials/header.html (limited to 'themes/mypaper/layouts/partials/header.html') diff --git a/themes/mypaper/layouts/partials/header.html b/themes/mypaper/layouts/partials/header.html new file mode 100644 index 0000000..9e56cac --- /dev/null +++ b/themes/mypaper/layouts/partials/header.html @@ -0,0 +1,55 @@ + + + + + + + + {{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }} + + {{- if eq .Kind "page" }} + + + {{- else }} + + + {{- end }} + + + + + + + + + {{- hugo.Generator }} + + {{ range .AlternativeOutputFormats -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} + + {{- if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} + {{- template "_internal/google_analytics_async.html" . }} + {{- template "_internal/opengraph.html" . }} + {{- end }} + + +
+ +
+
-- cgit v1.2.3-70-g09d2