Commit 18180177 authored by Laura Kalbag's avatar Laura Kalbag
Browse files

Relative feed URLs don't need the trailing slash to work

Towards #136
parent 85b926a5
......@@ -9,11 +9,11 @@
{{- range $sections -}}
<li>
{{- /* for each section, list its index RSS feed URL */}}
<a href='{{ .RelPermalink }}/index.xml'>{{ .Title }} {{ i18n "rssFeed" }}</a>
<a href='{{ .RelPermalink }}index.xml'>{{ .Title }} {{ i18n "rssFeed" }}</a>
</li>
<li>
{{- /* for each section, list its index ATOM feed URL */}}
<a href='{{ .RelPermalink }}/atom.xml'>{{ .Title }} {{ i18n "atomFeed" }}</a>
<a href='{{ .RelPermalink }}atom.xml'>{{ .Title }} {{ i18n "atomFeed" }}</a>
</li>
{{- end }}
</ul>
......
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