diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html index c0351897..6ff5e174 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -31,7 +31,7 @@
{{ if not (eq .Type "article") }}{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}{{ end }} {{ $pathJSON := (print .Permalink "bridgy.json") }} -{{ $relpathJSON := (print .Permalink "bridgy.json") }} +{{ $relpathJSON := (print .RelPermalink "bridgy.json") }} {{ if fileExists $relpathJSON }} {{ $mJSON := getJSON $pathJSON }}