diff --git a/layouts/partials/head.html b/layouts/partials/head.html index f619f247..fc19547c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -62,7 +62,9 @@ {{- end -}} + + + {{- partial "head_custom.html" . }} -{{- partial "load-photoswipe-theme.html" . }} {{ template "_internal/google_analytics_async.html" . }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c1fa2f82..af032bcf 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,3 +1,5 @@ +{{- partial "load-photoswipe-theme.html" . }} + {{ if .IsHome }} {{ if .Site.Params.homeTitle }}{{ $.Scratch.Set "title" .Site.Params.homeTitle }}{{ else }}{{ $.Scratch.Set "title" .Site.Title }}{{ end }} {{ if .Site.Params.subtitle }}{{ $.Scratch.Set "subtitle" .Site.Params.subtitle }}{{ end }} diff --git a/layouts/partials/load-photoswipe-theme.html b/layouts/partials/load-photoswipe-theme.html index 574aa869..fed40129 100644 --- a/layouts/partials/load-photoswipe-theme.html +++ b/layouts/partials/load-photoswipe-theme.html @@ -2,14 +2,6 @@ Documentation and licence at https://github.com/liwenyip/hugo-easy-gallery/ --> - - - - -