Browse Source

trying to fix sending of webmentions

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

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

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