Browse Source

webmentions stuff

master
jk 4 years ago
parent
commit
7e892eb6d5
  1. 1
      content/note/5eeb4790/index.md
  2. 12
      themes/nipponalba/layouts/_default/single.html

1
content/note/5eeb4790/index.md

@ -6,4 +6,3 @@ slug: 5eeb4790
visibility: public
---
<a href="https://webmention.rocks/update/2">update 2</a>
<a href="https://webmention.rocks/update/2/part/2">update 2 part 2</a>

12
themes/nipponalba/layouts/_default/single.html

@ -95,13 +95,13 @@
</div>
<a href="https://webmention.io/jk.nipponalba.scot/webmention" rel="webmention" style="display:none">webmention</a>
<div class="e-content h-cite">
{{ if .Params.inreplyto }}<p> Replied to {{ end }}
{{ if .Params.likeof }}<p> Liked {{ end }}
{{ if .Params.repostof }}<p>Shared {{ end }}
{{ if .Params.inreplyto }}{{ end }}
{{ if .Params.likeof }}{{ end }}
{{ if .Params.repostof }}{{ end }}
someone's
{{ if .Params.likeof }}<a href="{{ .Params.likeof }}" class="u-url u-like-of"> post</a>{{ end }}
{{ if .Params.inreplyto }}<a href="{{ .Params.inreplyto }}" class="u-url u-in-reply-to"> post</a>{{ end }}
{{ if .Params.repostof }}<a href="{{ .Params.repostof }}" class="u-url u-repost-of"> post</a>{{ end }}</p>
{{ if .Params.likeof }}<p>Liked <a href="{{ .Params.likeof }}" class="u-url u-like-of"> {{ .Params.likeof }}</a>{{ end }}
{{ if .Params.inreplyto }}<p>Replied to <a href="{{ .Params.inreplyto }}" class="u-url u-in-reply-to"> {{ .Params.inreplyto }}</a>{{ end }}
{{ if .Params.repostof }}<p>Shared <a href="{{ .Params.repostof }}" class="u-url u-repost-of"> {{ .Params.repostof }}</a>{{ end }}</p>
{{ if .Content }}<div class="p-name p-content">{{ .Content }}</div><br/> {{end}}
</div>
<div class="date"><a href="{{ .Permalink }}" class="u-url"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a></div>