Improve description wrapping in <head> metadata

This commit is contained in:
2021-11-13 19:37:50 -06:00
parent 240476061b
commit 179eda3450
4 changed files with 55 additions and 4 deletions

View File

@ -28,8 +28,8 @@
{{ end }}
{{ partial "opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
{{ template "_internal/schema.html" . }}
{{ partial "twitter_cards.html" . }}
{{ partial "schema.html" . }}
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}">