Browse Source

tinkering with webmentions stuff

master
jk 4 years ago
parent
commit
d5db88e591
  1. 4
      themes/nipponalba/layouts/_default/single.html

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

@ -93,8 +93,8 @@
<div class="author"> <div class="author">
<a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Title }}</div></a> <a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Title }}</div></a>
</div> </div>
<div class="e-content h-cite">
<a href="https://webmention.io/jk.nipponalba.scot/webmention" rel="webmention" style="display:none">webmention</a> <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.inreplyto }}<p> Replied to {{ end }}
{{ if .Params.likeof }}<p> Liked {{ end }} {{ if .Params.likeof }}<p> Liked {{ end }}
{{ if .Params.repostof }}<p>Shared {{ end }} {{ if .Params.repostof }}<p>Shared {{ end }}
@ -103,8 +103,8 @@
{{ if .Params.inreplyto }}<a href="{{ .Params.inreplyto }}" class="u-url u-in-reply-to"> 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.repostof }}<a href="{{ .Params.repostof }}" class="u-url u-repost-of"> post</a>{{ end }}</p>
{{ if .Content }}<div class="p-name p-content">{{ .Content }}</div><br/> {{end}} {{ if .Content }}<div class="p-name p-content">{{ .Content }}</div><br/> {{end}}
<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>
</div> </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>
</article> </article>
{{end}} {{end}}