mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 03:22:33 -06:00
Merge pull request #595 from madoke/patch/use-article-description-meta
❇️ Use article/page configured summary ahead of default
This commit is contained in:
commit
e5d81d952e
1 changed files with 3 additions and 3 deletions
|
@ -14,11 +14,11 @@
|
||||||
<meta name="title" content="{{ .Title | emojify }} · {{ .Site.Title | emojify }}" />
|
<meta name="title" content="{{ .Title | emojify }} · {{ .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 .Params.Tags | default .Site.Params.keywords -}}
|
||||||
<meta name="keywords" content="{{ . }}" />
|
<meta name="keywords" content="{{ range . }}{{ . }}, {{ end -}}" />
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ with .Site.Params.robots }}
|
{{ with .Site.Params.robots }}
|
||||||
<meta name="robots" content="{{ . }}" />
|
<meta name="robots" content="{{ . }}" />
|
||||||
|
|
Loading…
Reference in a new issue