Browse Source

removing bridgy code

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

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

@ -23,14 +23,8 @@
</section>
<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") }}
{{ if fileExists $relpathJSON }}
<span class="syndication">
{{ $mJSON := getJSON $pathJSON }}
Syndicated to <a href="{{ printf $mJSON.url}}">Pleroma</a></span>{{ end }}
<span class="info-date"><a href="{{ .Permalink }}" class="u-url"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a></span></section>
<a href="https://brid.gy/publish/mastodon"></a>
<hr/>
<section id="interactions"><h4>Interactions</h4>
<section id="webmention-form">

Loading…
Cancel
Save