Commit 298edad2 authored by Laura Kalbag's avatar Laura Kalbag
Browse files

Remove duplicate title from RSS feed description

Towards #6
parent ea1b37ee
......@@ -43,7 +43,7 @@
<published>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</published>
<updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
<content type="html">
{{- .Content | safeHTML }}&lt;p&gt;&lt;a href=&#34;{{ .Permalink }}&#34;&gt;{{ i18n "readOriginalPost" . }} &#39;{{ .Title }}&#39;&lt;/a&gt;.&lt;/p&gt;
{{- .Content | safeHTML }}&lt;p&gt;&lt;a href=&#34;{{ .Permalink }}&#34;&gt;{{ i18n "readOriginalPost" . }}&lt;/a&gt;.&lt;/p&gt;
</content>
</entry>
{{- end }}
......
......@@ -21,7 +21,7 @@
<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}}
<guid>{{ .Permalink }}</guid>
<description>{{ .Content | html }}&lt;p&gt;&lt;a href=&#34;{{ .Permalink }}&#34;&gt;{{ i18n "readOriginalPost" . }} &#39;{{ .Title }}&#39;&lt;/a&gt;.&lt;/p&gt;</description>
<description>{{ .Content | html }}&lt;p&gt;&lt;a href=&#34;{{ .Permalink }}&#34;&gt;{{ i18n "readOriginalPost" . }}&lt;/a&gt;.&lt;/p&gt;</description>
</item>
{{- end }}
</channel>
......
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