summaryrefslogtreecommitdiff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorSangeeth Sudheer <git@sangeeth.dev>2025-04-25 22:09:40 +0530
committerSangeeth Sudheer <git@sangeeth.dev>2025-04-25 22:09:40 +0530
commitc782f5cfc2f06b86cd2900c9381262f41ebf67da (patch)
treebeaaff0bfbb723e42273884ccc9182c6fe91fec0 /layouts/partials/head.html
parent4b94b8da8b92c2ceeb23d674c169977f22fc486e (diff)
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`.
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
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 @@
<link rel="canonical" href="{{ .Permalink }}"/>
-{{ template "_internal/opengraph.html" . }}
+{{ template "partials/opengraph.html" . }}
{{ partialCached "head/css.html" . }}
{{ partialCached "head/js.html" . }}