mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-18 19:57:29 -05:00
Specify markdownify or plainify for .Title references
This commit is contained in:
@ -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 }}">
|
||||
|
Reference in New Issue
Block a user