Browse Source

response rss fix

master
jk 4 years ago
parent
commit
47c2d54320
  1. 6
      layouts/_default/rss.xml

6
layouts/_default/rss.xml

@ -16,9 +16,9 @@
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
{{ if .Params.likeof }}<link>{{ .Params.likeof }}</link>{{ end }}
{{ if .Params.inreplyto }}<link>{{ .Params.inreplyto }}</link>{{ end }}
{{ if .Params.repostof }}<link>{{ .Params.repostof }}</link>{{ end }}
{{ if eq .Params.posttype "in-reply-to" }}<link>{{ index .Params "in-reply-to" }}</link>{{ end }}
{{ if eq .Params.posttype "like-of" }}<link>{{ index .Params "like-of" }}</link>{{ end }}
{{ if eq .Params.posttype "repost-of" }}<link>{{ index .Params "repost-of" }}</link>{{ end }}
<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>