Commit ee755c55 authored by Laura Kalbag's avatar Laura Kalbag

Fix minor issues with RSS rendering

To remove extra > inside blockquote and make all guids the permalinks for legacy compatibility.
parent 1008665b
......@@ -21,7 +21,7 @@
<link>{{ .Params.eventURL }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Params.speaker }}<author>{{.}}</author>{{end}}
<guid>{{ .Params.eventURL }}</guid>
<guid>{{ .Permalink }}</guid>
<description>&lt;p&gt;&lt;On {{ .Date.Format "2" | humanize }} {{ .Date.Format "January, 2006" }} in {{ .Params.eventCity }}, {{ .Params.eventCountry }}:&lt;/p&gt;{{ .Content | html }}&lt;p&gt;&lt;a href=&#34;{{ .Params.eventURL }}&#34;&gt;Visit the {{ .Title }} event website&lt;/a&gt;.&lt;/p&gt;</description>
</item>
{{ else }}
......@@ -30,8 +30,8 @@
<link>{{ .Params.postURL }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with .Params.writer }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Params.postURL }}</guid>
<description>&lt;blockquote&gt;&lt;{{ .Content | html }}&lt;/blockquote&gt;&lt;p&gt;&lt;a href=&#34;{{ .Params.postURL }}&#34;&gt;Read &#39;{{ .Title }}&#39; on {{ .Params.SourceName }}&lt;/a&gt;.&lt;/p&gt;</description>
<guid>{{ .Permalink }}</guid>
<description>&lt;blockquote&gt;{{ .Content | html }}&lt;/blockquote&gt;&lt;p&gt;&lt;a href=&#34;{{ .Params.postURL }}&#34;&gt;Read &#39;{{ .Title }}&#39; on {{ .Params.SourceName }}&lt;/a&gt;.&lt;/p&gt;</description>
</item>
{{ end }}
{{ end }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment