diff --git a/CHANGELOG.md b/CHANGELOG.md index 765495e..fa07729 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Fixed - Shortcodes placed after code blocks with line numbers are rendered with incorrect spacing ([#987](https://github.com/jpanther/congo/issues/987)) +- Error building site due to template system changes in Hugo v0.146.0 or later ([#1049](https://github.com/jpanther/congo/issues/1049)) ## [2.11.0] - 2025-02-24 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 28c8daf..035c2c8 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ -{{- partial "partials/functions/warnings.html" .Site -}} -{{- partial "partials/functions/init.html" . -}} +{{- partial "functions/warnings.html" .Site -}} +{{- partial "functions/init.html" . -}} {{ i18n "nav.skip_to_main" }} - {{ $header := print "partials/header/" .Site.Params.header.layout ".html" }} + {{ $header := print "header/" .Site.Params.header.layout ".html" }} {{ if templates.Exists $header }} {{ partial $header . }} {{ else }} - {{ partial "partials/header/basic.html" . }} + {{ partial "header/basic.html" . }} {{ end }}