From 5aae5f1292e7450560778b1a8275a0cc15e704a7 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Wed, 30 Mar 2022 04:15:46 +0200 Subject: remove moar cdnjs dependencies --- hugo/layouts/partials/head.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 hugo/layouts/partials/head.html (limited to 'hugo/layouts') diff --git a/hugo/layouts/partials/head.html b/hugo/layouts/partials/head.html new file mode 100644 index 0000000..cee7cac --- /dev/null +++ b/hugo/layouts/partials/head.html @@ -0,0 +1,26 @@ + + + + + {{ .Title }} + + + + + + + {{ $style := resources.Get "sass/researcher.scss" | resources.ExecuteAsTemplate "sass/researcher.scss" . | toCSS | minify }} + + + {{ with .Site.Params.favicon }} + + {{ end }} + + {{ with .OutputFormats.Get "rss" -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} + + {{ if not .Site.IsServer }} + {{ template "_internal/google_analytics.html" . }} + {{ end }} + -- cgit v1.2.3