25 lines
1.2 KiB
XML
25 lines
1.2 KiB
XML
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{ .Lang }}">
|
|
<title>{{ .Site.Title }}</title>
|
|
<link href="{{ (replace .Permalink "https://" "gemini://") | safeURL }}atom.xml" rel="self" type="application/atom+xml" />
|
|
<link href="{{ (replace .Permalink "https://" "gemini://") | safeURL }}" rel="alternate" type="text/html" />
|
|
<updated>{{ now.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
|
|
<author>
|
|
<name>Sylvain Durand</name>
|
|
</author>
|
|
<id>{{ (replace .Permalink "https://" "gemini://") | safeURL }}</id>
|
|
|
|
{{- range (where .Site.RegularPages "Section" "articles") }}
|
|
<entry>
|
|
<title>{{ .Title | markdownify | plainify }}</title>
|
|
<link href="{{ (replace .Permalink "https://" "gemini://") | safeURL }}" rel="alternate" type="text/html" />
|
|
{{- if .IsTranslated -}}
|
|
{{- range .Translations }}
|
|
<link href="{{ (replace .Permalink "https://" "gemini://") | safeURL }}" rel="alternate" hreflang="{{ .Language.Lang }}"/>
|
|
{{- end -}}
|
|
{{ end }}
|
|
<id>{{ (replace .Permalink "https://" "gemini://") | safeURL }}</id>
|
|
<published>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</published>
|
|
</entry>
|
|
{{- end }}
|
|
</feed>
|