{{/* templates/rss.tmpl -- only used when a site ships a custom rss override.
The default build path goes through internal/feed/rss.go and does not
render this file. I kept it around for hackers who want channel-level
tweaks without patching the binary. */}}
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>{{ .Config.Title }}</title>
<link>{{ .Config.BaseURL }}/</link>
<description>Today I Learned notes</description>
<language>en-us</language>
<lastBuildDate>{{ .Now.UTC.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</lastBuildDate>
{{ range .Posts }}
<item>
<title>{{ .Title }}</title>
<link>{{ $.Config.BaseURL }}/{{ .Slug }}.html</link>
<guid isPermaLink="false">{{ .Slug }}{{ with index .Tags 0 }}:{{ . }}{{ end }}</guid>
<pubDate>{{ .Date.UTC.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</pubDate>
<description><![CDATA[{{ .Summary }}]]></description>
{{ range .Tags }}<category>{{ . }}</category>{{ end }}
</item>
{{ end }}
</channel>
</rss>