mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-20 09:55:09 -04:00
fix: correct partials path in layouts/partials/templates directory
This commit is contained in:
parent
149f12cea7
commit
085f8354a5
2 changed files with 2 additions and 2 deletions
|
@ -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 }}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<meta name="twitter:image" content="{{ (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 -}}
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:image" content="{{ .Permalink }}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue