trwnh.com/unified.test.hugo/layouts/partials/head/description.html

4 lines
284 B
HTML
Raw Normal View History

2024-11-13 17:24:48 +00:00
{{- with or .Description .Params.summary .Site.Params.description (plainify (.Content | safeHTML) | strings.Truncate 140) }}
<meta name="description" itemprop="description" property="og:description" content="{{ . }}" />
<meta name="twitter:description" content="{{ . }}" />
{{- end }}