From 512d6ca9f236140830042e6e8584221290c9ee0b Mon Sep 17 00:00:00 2001 From: Kevin Morgan Date: Wed, 26 Dec 2018 16:18:55 -0800 Subject: [PATCH] Fixed usage of RelPermalink in baseof.html When the static site is built, js and css import fails with RelPermalink. --- layouts/_default/baseof.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 66ddb80..906c32a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -20,7 +20,7 @@ {{ printf `` .Rel .MediaType.Type .MediaType.Suffix .Permalink $.Site.Title | safeHTML }} {{ end -}} {{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "css/style.css" . | toCSS | minify | fingerprint -}} - + {{ block "head" . -}}{{- end }} @@ -29,7 +29,7 @@ {{ block "main" . -}}{{ end -}} {{ block "footer" . -}}{{ end }} {{ $script := resources.Get "js/main.js" | minify | fingerprint -}} - + {{ template "_internal/google_analytics_async.html" . }}