From ab51476ba4630422715d45bd12689df40c4ba094 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sun, 17 Jul 2022 17:35:29 -0700 Subject: [PATCH] Improve Stork theme integration, script locations --- layouts/_default/baseof.html | 5 ++++- layouts/partials/head.html | 15 ++++++++++++++- layouts/partials/stork.html | 13 ------------- 3 files changed, 18 insertions(+), 15 deletions(-) delete mode 100644 layouts/partials/stork.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5f9b093..61f4890 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,7 +3,10 @@ {{- partial "head.html" . -}} {{ if .Site.Params.Stork }} - {{ partial "stork.html" . }} + +

{{ end }} {{- partial "header.html" . -}} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a47514b..6afd77c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -52,6 +52,19 @@ {{ end }} + {{ if .Site.Params.Stork }} + + + + {{ end }} {{ if isset .Site.Params "matomositeid" }} + {{ end }} {{ $title }}{{ if not .IsHome }} - {{ .Site.Title }}{{ end }} diff --git a/layouts/partials/stork.html b/layouts/partials/stork.html deleted file mode 100644 index 0f08def..0000000 --- a/layouts/partials/stork.html +++ /dev/null @@ -1,13 +0,0 @@ - -
- - -