Fix atom
This commit is contained in:
parent
7e6fa834bb
commit
1eb0cbda1f
1 changed files with 1 additions and 5 deletions
|
@ -40,11 +40,7 @@
|
||||||
<uri>{{ $author.uri }}</uri>
|
<uri>{{ $author.uri }}</uri>
|
||||||
</author>
|
</author>
|
||||||
<id>{{ .Permalink }}</id>
|
<id>{{ .Permalink }}</id>
|
||||||
{{- if .IsTranslated -}}
|
<link href="{{ .Permalink }}" hreflang="{{ .Language.Lang }}"/>
|
||||||
{{ range .Translations }}
|
|
||||||
<link rel="alternate" href="{{ .Permalink }}" hreflang="{{ .Language.Lang }}"/>
|
|
||||||
{{- end -}}
|
|
||||||
{{ end }}
|
|
||||||
<updated>{{ dateFormat "2006-01-02T15:04:05Z" .Lastmod.UTC | safeHTML }}</updated>
|
<updated>{{ dateFormat "2006-01-02T15:04:05Z" .Lastmod.UTC | safeHTML }}</updated>
|
||||||
<published>{{ dateFormat "2006-01-02T15:04:05Z" .Date.UTC | safeHTML }}</published>
|
<published>{{ dateFormat "2006-01-02T15:04:05Z" .Date.UTC | safeHTML }}</published>
|
||||||
<content type="html">{{ trim .Content "\n" }}</content>
|
<content type="html">{{ trim .Content "\n" }}</content>
|
||||||
|
|
Loading…
Reference in a new issue