Browse Source

bridgy fix

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

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

@ -27,7 +27,7 @@
<section class="info"> <section class="info">
{{ if not (eq .Type "article") }}<span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span>{{ end }} {{ 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") }} {{ $pathJSON := (print .Permalink "bridgy.json") }}
{{ $relpathJSON := (print .Permalink "bridgy.json") }}
{{ $relpathJSON := (print .RelPermalink "bridgy.json") }}
{{ if fileExists $relpathJSON }} {{ if fileExists $relpathJSON }}
<span class="syndication"> <span class="syndication">
{{ $mJSON := getJSON $pathJSON }} {{ $mJSON := getJSON $pathJSON }}