Browse Source

fixing syndication linking

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

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

@ -31,7 +31,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 .Permalink "bridgy.json") }}
{{ $relpathJSON := (print .RelPermalink "bridgy.json") }}
{{ if fileExists $relpathJSON }}
<span class="syndication">
{{ $mJSON := getJSON $pathJSON }}