<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
{{- $author := or (.Site.Params.author) (.Site.Author.name) -}}
{{- $language := or (.Site.LanguageCode) (.Site.Language.Lang) -}}
<title>{{ .Site.Title }}</title>
<description>{{ .Site.Params.description }}</description>
<link>{{ absURL "" }}</link>
<language>{{ $language | default "en" }}</language>
<copyright>Copyright {{ now.Format "2006"}}, {{ $author }}</copyright>
<lastBuildDate>{{ .Site.LastChange.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>
{{ with .Site.Params.webmaster }}
<webMaster>{{ . }}</webMaster>
{{ end }}
<docs>http://cyber.harvard.edu/rss/rss.html</docs>
<atom:link href="{{ absURL "atom.xml" }}" rel="self" type="application/atom+xml"/>
{{ range where .Site.RegularPages "Type" "posts" }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<description>{{ .Content | plainify }}</description>
<author>{{ .Params.Author | default $author }}</author>
<guid>{{ .Permalink }}</guid>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
</item>
</channel>
</rss>