Merge pull request #107 from iakunin/2021-10-19_meta-description
Fixing a bug with `<meta name=description>`
This commit is contained in:
commit
d33134ecdd
@ -5,7 +5,7 @@
|
||||
<meta name="referrer" content="no-referrer-when-downgrade">
|
||||
|
||||
{{ partial "title.html" }}
|
||||
<meta name="description" content="{{ .Site.Params.Description }}">
|
||||
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end -}}">
|
||||
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
|
Loading…
Reference in New Issue
Block a user