layouts: update partials to _partials

Hugo v0.146.0 introduced a
[new template system](https://gohugo.io/templates/new-templatesystem-overview/)
that changed the structure of the `layouts` directory.

Commit https://github.com/jpanther/congo/commit/99d5cf8b28ce82377588310799420721943a3e65
updated this theme to support the new `layouts` directory structure but
missed a few updates to `templates.Exists` calls. This patch fixes those
calls.
This commit is contained in:
Matthew Sanabria
2025-06-22 11:34:34 -04:00
parent 081977fbc4
commit 467e5ac423
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -134,7 +134,7 @@
</div>
</div>
{{/* Extend footer - eg. for extra scripts, etc. */}}
{{ if templates.Exists "partials/extend-footer.html" }}
{{ if templates.Exists "_partials/extend-footer.html" }}
{{ partial "extend-footer.html" . }}
{{ end }}
</footer>