1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 07:41:18 -04:00

strip any markdown in page titles from meta/social tags in head

This commit is contained in:
2020-08-10 10:58:22 -04:00
parent 9b5a29be7b
commit 0f9de4d350
12 changed files with 40 additions and 33 deletions

View File

@@ -4,8 +4,8 @@
"@type": "BlogPosting",
"url": {{ with .OutputFormats.Get "html" }}{{ .Permalink }}{{ end }},
"mainEntityOfPage": {{ with .OutputFormats.Get "html" }}{{ .Permalink }}{{ end }},
"name": {{ .Title }},
"headline": {{ .Title }},
"name": {{ .Scratch.Get "plainTitle" }},
"headline": {{ .Scratch.Get "plainTitle" }},
"datePublished": {{ .PublishDate.Format "2006-01-02T15:04:05-07:00" }},
"dateModified": {{ .PublishDate.Format "2006-01-02T15:04:05-07:00" }},
"keywords": {{ with .Params.tags }}{{ delimit . ", " }}{{ end }},