Specify markdownify or plainify for .Title references

This commit is contained in:
2021-11-20 19:05:56 -06:00
parent 919ecde4ac
commit a01a70fc91
7 changed files with 12 additions and 12 deletions

View File

@ -1,4 +1,4 @@
<meta property="og:title" content="{{ .Title }}">
<meta property="og:title" content="{{ .Title | plainify }}">
<meta property="og:description" content="{{ with .Description }}{{ . }}{{ else }}{{ if .IsPage }}{{ .Summary | plainify }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}">
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}">
<meta property="og:url" content="{{ .Permalink }}">