From f481ca7ad2dac3556b7e2c2ab2dc327264058c9a Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Sat, 29 Oct 2022 00:55:35 +0200 Subject: [PATCH 1/2] Template is not being picked up Despite commit acd74954b5dd0a10f683744d11635bb1b1b76076 mentioning that the custom.html is still supported for now, I don't think it's being picked up at the moment. This PR resolves this issue. --- modules/wowchemy/layouts/partials/site_js.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/wowchemy/layouts/partials/site_js.html b/modules/wowchemy/layouts/partials/site_js.html index 8f7cff593..a2bd8e4bc 100644 --- a/modules/wowchemy/layouts/partials/site_js.html +++ b/modules/wowchemy/layouts/partials/site_js.html @@ -233,7 +233,7 @@ {{/* EXTENSIBILITY HOOK: BODY-END */}} {{/* Deprecated custom_js hook */}} -{{ if templates.Exists "partials/custom_js" }} +{{ if templates.Exists "partials/custom_js.html" }} {{ partial "custom_js" . }} {{ end }} {{ partial "functions/get_hook" (dict "hook" "body-end" "context" .) }} From a26c59bec255109c141d72937c176a8d771b7996 Mon Sep 17 00:00:00 2001 From: Geo Date: Sat, 29 Oct 2022 15:28:26 +0100 Subject: [PATCH 2/2] Update site_head.html --- modules/wowchemy/layouts/partials/site_head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/wowchemy/layouts/partials/site_head.html b/modules/wowchemy/layouts/partials/site_head.html index f3cedcd0b..1c4521b02 100644 --- a/modules/wowchemy/layouts/partials/site_head.html +++ b/modules/wowchemy/layouts/partials/site_head.html @@ -208,7 +208,7 @@ {{/* EXTENSIBILITY HOOK: HEAD-END */}} {{/* Deprecated custom_head hook */}} - {{ if templates.Exists "partials/custom_head" }} + {{ if templates.Exists "partials/custom_head.html" }} {{ partial "custom_head" . }} {{ end }} {{ partial "functions/get_hook" (dict "hook" "head-end" "context" .) }}