Implement fixes for refreshed template system for Hugo v0.146.0+ (#1726)

This commit is contained in:
Jake Bailey
2025-04-19 23:16:23 -07:00
committed by GitHub
parent 149f12cea7
commit 7cf752f864
8 changed files with 14 additions and 14 deletions

View File

@ -85,7 +85,7 @@
{{ (path.Join .RelPermalink .Params.cover.image ) | absURL }},
{{- end}}
{{- else }}
{{- $images := partial "partials/templates/_funcs/get-page-images" . -}}
{{- $images := partial "templates/_funcs/get-page-images" . -}}
{{- with index $images 0 -}}
"image": {{ .Permalink }},
{{- end }}