mirror of https://github.com/jpanther/congo.git
🔀 Merge pull request #378 from glennr:gr/meta-description
Fix: unique meta descriptions from articlespull/379/head
commit
8804b099f8
|
@ -14,9 +14,7 @@
|
||||||
<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 -}}
|
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ if .IsPage }}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
|
||||||
<meta name="description" content="{{ . }}" />
|
|
||||||
{{- end }}
|
|
||||||
{{ with .Site.Params.keywords -}}
|
{{ with .Site.Params.keywords -}}
|
||||||
<meta name="keywords" content="{{ . }}" />
|
<meta name="keywords" content="{{ . }}" />
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in New Issue