Browse Source

webmentions stuff

master
jk 4 years ago
parent
commit
204ed7b3e0
  1. 6
      layouts/_default/rss.xml

6
layouts/_default/rss.xml

@ -19,7 +19,11 @@
<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>{{ .Content | plainify }}
<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 }}
{{ if not ( in . "http" ) }}