diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html index 400129b3..75a0740c 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -27,7 +27,7 @@
{{ if not (eq .Type "article") }}{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}{{ end }} {{ $pathJSON := (print .Permalink "bridgy.json") }} -{{ $relpathJSON := (print .RelPermalink "bridgy.json") }} +{{ $relpathJSON := (print .Permalink "bridgy.json") }} {{ if fileExists $relpathJSON }} {{ $mJSON := getJSON $pathJSON }} @@ -44,7 +44,7 @@
{{ $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" }}