fix prefix for ['warning-partial-superfluous-prefix'] after Hugo 0.146.0
Some checks are pending
/ test (push) Waiting to run
Some checks are pending
/ test (push) Waiting to run
This commit is contained in:
parent
fbbd819465
commit
b0c8dfa540
2 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@
|
||||||
{{ (path.Join .RelPermalink .Params.cover.image ) | absURL }},
|
{{ (path.Join .RelPermalink .Params.cover.image ) | absURL }},
|
||||||
{{- end}}
|
{{- end}}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- $images := partial "partials/templates/_funcs/get-page-images" . -}}
|
{{- $images := partial "templates/_funcs/get-page-images" . -}}
|
||||||
{{- with index $images 0 -}}
|
{{- with index $images 0 -}}
|
||||||
"image": {{ .Permalink }},
|
"image": {{ .Permalink }},
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<meta name="twitter:image" content="{{ (path.Join .RelPermalink .Params.cover.image ) | absURL }}">
|
<meta name="twitter:image" content="{{ (path.Join .RelPermalink .Params.cover.image ) | absURL }}">
|
||||||
{{- end}}
|
{{- end}}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- $images := partial "partials/templates/_funcs/get-page-images" . -}}
|
{{- $images := partial "templates/_funcs/get-page-images" . -}}
|
||||||
{{- with index $images 0 -}}
|
{{- with index $images 0 -}}
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:image" content="{{ .Permalink }}">
|
<meta name="twitter:image" content="{{ .Permalink }}">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue