Browse Source

tinkering with webmentions stuff

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

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

@ -89,10 +89,9 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ else }} {{ else }}
<section class="h-entry">
{{ if .Params.inreplyto }}<article class="h-cite u-in-reply-to" id="response">{{ end }}
{{ if .Params.likeof }}<article class="h-cite u-like-of" id="response">{{ end }}
{{ if .Params.repostof }}<article class="h-cite u-repost-of" id="response">{{ end }}
{{ if .Params.inreplyto }}<article class="h-entry h-cite" id="response">{{ end }}
{{ if .Params.likeof }}<article class="h-entry h-cite" id="response">{{ end }}
{{ if .Params.repostof }}<article class="h-entry h-cite" id="response">{{ end }}
<div class="author"> <div class="author">
<a rel="author" class="p-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="p-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>
@ -102,15 +101,14 @@
{{ if .Params.likeof }}<p> Liked {{ end }} {{ if .Params.likeof }}<p> Liked {{ end }}
{{ if .Params.repostof }}<p>Shared {{ end }} {{ if .Params.repostof }}<p>Shared {{ end }}
someone's someone's
{{ if .Params.likeof }}<a href="{{ .Params.likeof }}" class="u-url"> post</a>{{ end }}
{{ if .Params.inreplyto }}<a href="{{ .Params.inreplyto }}" class="u-url"> post</a>{{ end }}
{{ if .Params.repostof }}<a href="{{ .Params.repostof }}" class="u-url"> post</a>{{ end }}</p>
{{ 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 .Content }}<div class="p-name p-content">{{ .Content }}</div><br/> {{end}} {{ if .Content }}<div class="p-name p-content">{{ .Content }}</div><br/> {{end}}
<time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time> <time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time>
<a href="{{ .Permalink }}" class="u-url"></a> <a href="{{ .Permalink }}" class="u-url"></a>
</div> </div>
</article> </article>
</section>
{{end}} {{end}}
{{end}} {{end}}