jk.nipponalba.scot website
https://jk.nipponalba.scot
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
2.4 KiB
55 lines
2.4 KiB
{{- $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections -}}
|
|
{{- $limit := .Site.Config.Services.RSS.Limit -}}
|
|
{{- if ge $limit 1 -}}
|
|
{{- $pages = $pages | first $limit -}}
|
|
{{- end -}}
|
|
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
|
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{ .Site.LanguageCode }}">
|
|
<generator uri="https://gohugo.io/" version="{{ hugo.Version }}">Hugo</generator>
|
|
<link href="http://pubsubhubbub.superfeedr.com/" rel="hub"/>
|
|
<title>{{ .Site.Title }}</title>
|
|
{{- with .Site.Params.brand.tagline }}
|
|
<subtitle>{{ . }}</subtitle>
|
|
{{- end }}
|
|
<id>{{ "/" | absLangURL }}</id>
|
|
<author>
|
|
<name>{{ .Site.Params.author }}</name>
|
|
<uri>{{ "/" | absLangURL }}</uri>
|
|
</author>
|
|
<generator>Hugo gohugo.io</generator>
|
|
{{- with .Site.Copyright }}
|
|
<rights>{{ . }}</rights>
|
|
{{- end }}
|
|
{{- with .Site.Params.brand.icon }}
|
|
<icon>{{ . | absURL }}</icon>
|
|
{{- end }}
|
|
{{- with .Site.Params.brand.logo }}
|
|
<logo>{{ . | absURL }}</logo>
|
|
{{- end }}
|
|
<updated>{{ dateFormat "2006-01-02T15:04:05Z" now.UTC | safeHTML }}</updated>
|
|
{{- with .OutputFormats.Get "ATOM" }}
|
|
{{ printf `<link rel="self" type="%s" href="%s" hreflang="%s"/>` .MediaType.Type .Permalink $.Site.LanguageCode | safeHTML }}
|
|
{{- end }}
|
|
{{- range .AlternativeOutputFormats }}
|
|
{{ printf `<link rel="alternate" type="%s" href="%s" hreflang="%s"/>` .MediaType.Type .Permalink $.Site.LanguageCode | safeHTML }}
|
|
{{- end }}
|
|
{{- range $pages }}
|
|
<entry>
|
|
<title>{{ .Title }}</title>
|
|
{{- $author := index .Site.Data.authors (.Params.author | default "default") }}
|
|
<author>
|
|
<name>{{ $author.name }}</name>
|
|
<uri>{{ $author.uri }}</uri>
|
|
</author>
|
|
<id>{{ .Permalink }}</id>
|
|
{{- if .IsTranslated -}}
|
|
{{ range .Translations }}
|
|
<link rel="alternate" href="{{ .Permalink }}" hreflang="{{ .Language.Lang }}"/>
|
|
{{- end -}}
|
|
{{ end }}
|
|
<updated>{{ dateFormat "2006-01-02T15:04:05Z" .Lastmod.UTC | safeHTML }}</updated>
|
|
<published>{{ dateFormat "2006-01-02T15:04:05Z" .Date.UTC | safeHTML }}</published>
|
|
<content type="html">{{ trim .Content "\n" }}</content>
|
|
</entry>
|
|
{{- end }}
|
|
</feed>
|