Browse Source

updating webmention display

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

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

@ -27,7 +27,7 @@
<section class="info">
{{ if not (eq .Type "article") }}<span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span>{{ end }}
{{ $pathJSON := (print .Permalink "bridgy.json") }}
{{ $relpathJSON := (print .RelPermalink "bridgy.json") }}
{{ $relpathJSON := (print .Permalink "bridgy.json") }}
{{ if fileExists $relpathJSON }}
<span class="syndication">
{{ $mJSON := getJSON $pathJSON }}
@ -44,7 +44,7 @@
</form>
</section>
{{ $mention_ids := index $.Site.Data.index .RelPermalink }}
{{ if isset $mention_ids 1}}
{{ if isset $mention_ids 0}}
{{ $mentions := apply $mention_ids "index" $.Site.Data.mentions "." }}
{{ $mentions := sort $mentions "wm-received" }}
<section id="webmentions">