mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-07-13 22:52:29 +02:00
Implement fixes for refreshed template system for Hugo v0.146.0+ (#1726)
This commit is contained in:
@ -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 }}
|
||||
|
Reference in New Issue
Block a user