4o1x5.dev/layouts/partials/utils/page-description.html

12 lines
283 B
HTML
Raw Normal View History

2024-04-28 11:42:37 +02:00
{{ with .Description | plainify | htmlUnescape -}}
{{ . -}}
{{ else -}}
{{ if .IsHome -}}
{{ with .Site.Params.description | plainify | htmlUnescape -}}
{{ . -}}
{{ end -}}
{{ else -}}
{{ .Summary | plainify | htmlUnescape | chomp -}}
{{ end -}}
{{ end -}}