From 9ecdd28189f98af43b14a786ae0b5d3a35efc99e Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Wed, 8 Jan 2020 17:49:20 +0100 Subject: [PATCH] add missing slashes in paths --- layouts/_default/single.html | 4 ++-- layouts/partials/footer.html | 2 +- layouts/partials/head.html | 7 ++++--- layouts/partials/js.html | 2 +- layouts/partials/nav.html | 4 ++-- layouts/partials/profile.html | 6 +++--- 6 files changed, 13 insertions(+), 12 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 62e639e..c7aa8d1 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -12,7 +12,7 @@ {{ with .Params.tags }} {{ if ge (len .) 1 }} {{ range . }} - {{ . }} + {{ . }} {{ end }} {{ end }} {{ end}} @@ -24,7 +24,7 @@ diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a283657..6af8c1f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -8,11 +8,12 @@ {{ with .Site.Params.description }}{{ end }} {{ .Hugo.Generator }} {{ if .IsHome }}{{ .Title }}{{ else }}{{ .Title }} · {{ .Site.Title }}{{ end }} - - {{ $style := resources.Get "css/style.css" | resources.Minify | resources.Fingerprint }} + + {{ $css := resources.Get "css/style.css" }} + {{ $style := $css | resources.Minify | resources.Fingerprint }} {{ range .Site.Params.customCSS }} - + {{ end }} {{ if .Site.Params.enableRSS }} diff --git a/layouts/partials/js.html b/layouts/partials/js.html index 721150e..a62497b 100644 --- a/layouts/partials/js.html +++ b/layouts/partials/js.html @@ -1,5 +1,5 @@ {{ range .Site.Params.customJS }} - + {{ end }} {{ with .Site.Params.Piwik }} diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 1716e92..3dd7512 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -5,10 +5,10 @@ {{ end }} {{ if ne $url "about/" }} - {{ with .Site.Params.about }}{{ . }}{{ else }}About{{ end }} + {{ with .Site.Params.about }}{{ . }}{{ else }}About{{ end }} {{ end }} {{ if .Site.Params.enableRSS }} {{ with .Site.Params.subscribe }}{{ . }}{{ else }}Subscribe{{ end }} {{ end }} - \ No newline at end of file + diff --git a/layouts/partials/profile.html b/layouts/partials/profile.html index d58f285..56d5ab7 100644 --- a/layouts/partials/profile.html +++ b/layouts/partials/profile.html @@ -1,11 +1,11 @@
-
\ No newline at end of file +