Browse Source

styling updates

master
jk 4 years ago
parent
commit
3fff44310a
  1. 6
      themes/nipponalba/layouts/_default/single.html

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

@ -27,15 +27,15 @@
{{ end }}<br/> {{ end }}<br/>
</div> </div>
{{ if not (eq .Type "article") }}<div class="info"> {{ if not (eq .Type "article") }}<div class="info">
{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}<span id="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><br/>
{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}
</div>{{ end }} </div>{{ end }}
{{ $pathJSON := (print .Permalink "bridgy.json") }} {{ $pathJSON := (print .Permalink "bridgy.json") }}
{{ $relpathJSON := (print .RelPermalink "bridgy.json") }} {{ $relpathJSON := (print .RelPermalink "bridgy.json") }}
{{ if fileExists $relpathJSON }} {{ if fileExists $relpathJSON }}
<div class="syndication">
<span class="syndication">
{{ $mJSON := getJSON $pathJSON }} {{ $mJSON := getJSON $pathJSON }}
Syndicated to <a href="{{ printf $mJSON.url}}">Pleroma</a> Syndicated to <a href="{{ printf $mJSON.url}}">Pleroma</a>
</div>
</span><span id="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>
{{ end }} {{ end }}
<a href="https://brid.gy/publish/mastodon"></a> <a href="https://brid.gy/publish/mastodon"></a>
<div class="interactions"><h4>Interactions</h4></div> <div class="interactions"><h4>Interactions</h4></div>