Use article/page configured summary ahead of default

This commit is contained in:
madoke 2023-03-12 12:53:14 +00:00
parent 88fc95ca9a
commit 81e825ca9a

View file

@ -14,7 +14,7 @@
<meta name="title" content="{{ .Title | emojify }} &middot; {{ .Site.Title | emojify }}" /> <meta name="title" content="{{ .Title | emojify }} &middot; {{ .Site.Title | emojify }}" />
{{- end }} {{- end }}
{{/* Metadata */}} {{/* Metadata */}}
{{ with .Site.Params.description -}} {{ with .Params.Summary | default .Site.Params.description -}}
<meta name="description" content="{{ . }}" /> <meta name="description" content="{{ . }}" />
{{- end }} {{- end }}
{{ with .Site.Params.keywords -}} {{ with .Site.Params.keywords -}}