From c782f5cfc2f06b86cd2900c9381262f41ebf67da Mon Sep 17 00:00:00 2001 From: Sangeeth Sudheer Date: Fri, 25 Apr 2025 22:09:40 +0530 Subject: Make opengraph.html a normal partial Moves `opengraph.html` under `layout/partials` and updates `head.html` to include from the updated path. This change is needed to make things work with Hugo >=v0.144.0 as they moved templates like `opengraph.html` from `_internals` breaking existing usage. The doc also recommends doing this: https://gohugo.io/templates/embedded/#open-graph This change shouldn't affect existing users of Typo unless they override `head.html`. --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index f62f983..272a9ed 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -36,7 +36,7 @@ -{{ template "_internal/opengraph.html" . }} +{{ template "partials/opengraph.html" . }} {{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }} -- cgit v1.2.3