www

website
got clone ssh://anon@src.dalliard.ch/www
log | files | refs

home.atom.xml (689B)


      1 {{- $pages := where site.RegularPages "Section" "log" -}}
      2 {{- printf "<?xml version=\"1.0\" encoding=\"utf-8\"?>" | safeHTML }}
      3 <feed xmlns="http://www.w3.org/2005/Atom">
      4 	<id>{{- .Permalink -}}</id>
      5 	<title>{{ .Title }}</title>
      6   <updated>{{- (index $pages.ByLastmod.Reverse 0).Lastmod.Format "2006-01-02T15:04:05Z07:00" | safeHTML -}}</updated>
      7 	<author>
      8 		<name>{{- .Title -}}</name>
      9 	</author>
     10 {{- range $pages -}}
     11 	<entry>
     12 		<id>{{- .Permalink -}}</id>
     13 		<title>{{ .Title }}</title>
     14 		<updated>{{- .Lastmod.Format "2006-01-02T15:04:05Z07:00" | safeHTML -}}</updated>
     15     <content type="html">{{- printf "<![CDATA[%s]]>" .Content | safeHTML -}}</content>
     16 	</entry>
     17 {{- end -}}
     18 </feed>