1
Fork 0
theorangeone.net-legacy/layouts/_default/list.atom

39 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title type="text">{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<subtitle>A subtitle.</subtitle>
<link href="{{ .Permalink }}" rel="self" />
<link href="{{ absURL "/" }}" />
<id>{{ .Permalink }}</id>
<updated>{{ now.Format .Site.Params.iso8601 }}</updated>
<icon>{{ absURL "/img/logo-transparent.png" }}</icon>
<logo>{{ absURL "/img/logo-transparent.png" }}</icon>
<author>
<name>{{ .Site.Params.author }}</name>
<uri>{{ absURL "/" }}</uri>
</author>
<rights type="html">
{{ partial "copyright.html" . | html }}
</rights>
{{ range .Data.Pages }}
<entry>
<title>{{ .Title }}</title>
<link href="{{ .Permalink }}" />
<id>{{ .Permalink }}</id>
<updated>{{ .Date.Format .Site.Params.iso8601 }}</updated>
<published>{{ .Date.Format .Site.Params.iso8601 }}</published>
<rights type="html">
{{ partial "copyright.html" . | html }}
</rights>
<summary>{{ base64Encode .Summary }}</summary>
<content>
{{ base64Encode .Content }}
</content>
<author>
<name>{{ .Site.Params.author }}</name>
<uri>{{ absURL "/" }}</uri>
</author>
</entry>
{{ end }}
</feed>