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>
|
||||
</author>
|
||||
<id>{{ .Permalink }}</id>
|
||||
{{- if .IsTranslated -}}
|
||||
{{ range .Translations }}
|
||||
<link rel="alternate" href="{{ .Permalink }}" hreflang="{{ .Language.Lang }}"/>
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
<link href="{{ .Permalink }}" hreflang="{{ .Language.Lang }}"/>
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue