From 8088299ecb919f61daff669c9c25b6e1ca5924c1 Mon Sep 17 00:00:00 2001 From: nanxiaobei Date: Sun, 31 Mar 2019 20:32:06 +0800 Subject: Update for 3.0 --- layouts/partials/header.html | 108 +++++++++++++++++++++---------------------- 1 file changed, 54 insertions(+), 54 deletions(-) (limited to 'layouts/partials/header.html') diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 674fd04..1c82e77 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,60 +1,60 @@ - - - - - - - {{- if not .IsHome }} - {{- if eq .Kind "page" }}{{ .Title }} - {{- else if eq .Data.Singular "tag" }}{{ .Data.Term }} - {{- else }}Posts - {{- end }} - {{ end }} - {{- .Site.Title -}} - - - {{- if eq .Kind "page" }} - - - {{ else }} - - - {{ end -}} - - - - - - - - - - {{ .Hugo.Generator }} - - - {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} - {{ template "_internal/google_analytics_async.html" . }} - {{ end }} - {{ partial "header-include.html" . }} - - -
- {{ if .IsHome }} -

{{ .Site.Title }}

+ + + + + + + {{- if not .IsHome }} + {{- if eq .Kind "page" }}{{ .Title }} + {{- else if eq .Data.Singular "tag" }}{{ .Data.Term }} + {{- else }}Posts + {{- end }} - {{ end }} + {{- .Site.Title -}} + + + {{- if eq .Kind "page" }} + + {{ else }} -

{{ .Site.Title }}

+ + + {{ end -}} + + + + + + + + {{ .Hugo.Generator }} + + + {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} + {{ template "_internal/google_analytics_async.html" . }} {{ end }} - -
+ - -
+
-- cgit v1.2.3