Browse Source

webmentions stuff

master
jk 4 years ago
parent
commit
17ffc1b37e
  1. 6
      layouts/_default/rss.xml

6
layouts/_default/rss.xml

@ -16,13 +16,13 @@
<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 }}
<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>
<description>
{{ if .Params.likeof }}<p>Like of <a href="{{ .Params.likeof }}" class="u-url u-like-of"> {{ .Params.likeof }}</a>{{ end }}
{{ if .Params.inreplyto }}<p>In reply to <a href="{{ .Params.inreplyto }}" class="u-url u-in-reply-to"> {{ .Params.inreplyto }}</a>{{ end }}
{{ if .Params.repostof }}<p>Share of <a href="{{ .Params.repostof }}" class="u-url u-repost-of"> {{ .Params.repostof }}</a>{{ end }}</p>
{{ .Content | plainify }}
({{ .Permalink }})
{{ range .Params.Photo }}