update feed
This commit is contained in:
parent
0824dfbe49
commit
6862d3c68f
1 changed files with 3 additions and 4 deletions
|
@ -16,14 +16,13 @@
|
|||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||
<guid>{{ .Permalink }}</guid>{{ if .Params.gif}}
|
||||
<enclosure url="{{.Site.BaseURL}}{{.Params.gif}}" />
|
||||
<enclosure url="{{.Params.gif}}" />
|
||||
{{end}}{{ if .Params.video}}
|
||||
<enclosure url="{{.Params.video}}" />
|
||||
{{end}}{{ if .Params.audio}}
|
||||
<enclosure url="{{.Site.BaseURL}}{{.Params.audio}}" />
|
||||
<enclosure url="{{.Params.audio}}" />
|
||||
{{end}}{{ if .Params.image}}
|
||||
<image>{{.Site.BaseURL}}{{.Params.image}}</image>{{end}}
|
||||
<description>{{- .Content | html -}}</description>
|
||||
<image>{{.Params.image}}</image>{{end}}
|
||||
</item>{{ end }}
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
Loading…
Reference in a new issue