From 6a7082eab5f4bfa1912ce0ec4d7e790ecf3bbcc6 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 29 May 2022 23:36:18 +0200 Subject: Provide ability to include custom scripts in the them --- layouts/partials/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 14cd475..39e3255 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -14,7 +14,7 @@ {{ hugo.Generator }} {{- partial "styles.html" . }} - {{- partial "custom-scripts.html" . }} + {{ block "custom-scripts" . }}{{ partial "custom-scripts.html" . }}{{ end }} {{- /* Favicons */}} @@ -28,7 +28,7 @@ {{ end -}} - {{- partial "custom-head.html" . -}} + {{ block "custom-head" . }}{{ partial "custom-head.html" . }}{{ end }} {{- /* Misc */}} {{ template "partials/templates/opengraph.html" . }} -- cgit v1.2.3