mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-10 08:53:33 -04:00
🔀 Merge pull request #378 from glennr:gr/meta-description
Fix: unique meta descriptions from articles
This commit is contained in:
@@ -14,9 +14,7 @@
|
||||
<meta name="title" content="{{ .Title | emojify }} · {{ .Site.Title | emojify }}" />
|
||||
{{- end }}
|
||||
{{/* Metadata */}}
|
||||
{{ with .Site.Params.description -}}
|
||||
<meta name="description" content="{{ . }}" />
|
||||
{{- end }}
|
||||
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ if .IsPage }}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
|
||||
{{ with .Site.Params.keywords -}}
|
||||
<meta name="keywords" content="{{ . }}" />
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user