summaryrefslogtreecommitdiffstats
path: root/layouts/partials/templates/doublinecore.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-02 00:20:51 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-02 00:20:51 +0200
commitbc6526e7b332138502daeeaefa1a835d6ab44b8a (patch)
tree4a4f23c328b5ec707fa1a3aaf3951b974ed53d72 /layouts/partials/templates/doublinecore.html
parent9d2623026c931ccacd03d0ee98ad52dda7960995 (diff)
downloadgohugo-theme-ed-bc6526e7b332138502daeeaefa1a835d6ab44b8a.tar.gz
Truncate description in meta tag
Diffstat (limited to 'layouts/partials/templates/doublinecore.html')
-rw-r--r--layouts/partials/templates/doublinecore.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/templates/doublinecore.html b/layouts/partials/templates/doublinecore.html
index 674d343..04e8ae6 100644
--- a/layouts/partials/templates/doublinecore.html
+++ b/layouts/partials/templates/doublinecore.html
@@ -11,4 +11,4 @@
<meta property="dc:source" content="{{ if .Params.source }}{{ .Params.source }}{{ else }}{{ site.Title }}{{ end }}">
{{- with .Params.date }}
{{ printf "<meta property=\"dc:date\" content=\"%s\">" (.UTC.Format "2006-01-02T15:04:05-07:00") | safeHTML }}
-{{- end }}
+{{- end -}}