mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-23 04:41:16 -04:00
strip any markdown in page titles from meta/social tags in head
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{- $img := partial "functions/social-images" . -}}
|
||||
{{- $img := partial "functions/meta-scratch" . -}}
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>{{ .Site.Title }}</title>
|
||||
@@ -19,7 +19,7 @@
|
||||
{{ end }}
|
||||
{{- range (where .Site.RegularPages "Section" .Site.Params.mainSection) }}
|
||||
<item>
|
||||
<title>{{ .Title }}</title>
|
||||
<title>{{ .Title | markdownify | htmlUnescape | plainify }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
{{ with .Site.Author.email }}<author>{{ . }}{{ with $.Site.Author.name }} ({{ . }}){{ end }}</author>{{ end }}
|
||||
|
Reference in New Issue
Block a user