From 92354b9cd91ab57036e13bd0dda5fedaf538ce41 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sun, 5 May 2024 22:42:41 +0100 Subject: [PATCH] feat: rename footer.block to footer.blox --- modules/blox-tailwind/layouts/partials/site_footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/blox-tailwind/layouts/partials/site_footer.html b/modules/blox-tailwind/layouts/partials/site_footer.html index b3fa6d92..c86e19d3 100644 --- a/modules/blox-tailwind/layouts/partials/site_footer.html +++ b/modules/blox-tailwind/layouts/partials/site_footer.html @@ -3,7 +3,7 @@ {{ partial "functions/get_hook" (dict "hook" "footer-start" "context" .) }} {{/* Load footer block */}} - {{ $footer_section_name := site.Params.footer.block | default "minimal" }} + {{ $footer_section_name := site.Params.footer.blox | default "minimal" }} {{ $footer_section_path := printf "components/footers/%s.html" $footer_section_name }} {{ if not (templates.Exists (printf "partials/%s" $footer_section_path)) }} {{ errorf "Check your `params.yaml`. Cannot find footer block at `layouts/partials/%s`" $footer_section_path }}