Browse Source

slight formatting update

master
jk 4 years ago
parent
commit
3097d74bfe
  1. 18
      themes/nipponalba/layouts/_default/single.html
  2. 2
      themes/nipponalba/static/css/style.css

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

@ -26,20 +26,20 @@
</div>
<div class="post-footer-page">
{{ if not (eq .Type "article")}}<div class="date"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></div>{{end}}
<div class="date"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></div>
{{ $pathJSON := (print .Permalink "bridgy.json") }}
{{ $relpathJSON := (print .RelPermalink "bridgy.json") }}
{{ if fileExists $relpathJSON }}
<div class="syndication">
{{ $mJSON := getJSON $pathJSON }}
Syndicated to <a href="{{ printf $mJSON.url}}">Pleroma</a>
</div>
{{ end }}
<div class="info">
{{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }}
{{ with .Page.Params.category }}{{ partial "taxonomy/categories.html" . }}{{ end }}
{{ with .Page.Params.tag }}{{ partial "taxonomy/tags.html" . }}{{ end }}
</div>
{{ $pathJSON := (print .Permalink "bridgy.json") }}
{{ $relpathJSON := (print .RelPermalink "bridgy.json") }}
{{ if fileExists $relpathJSON }}
<div class="syndication">
{{ $mJSON := getJSON $pathJSON }}
Syndicated to <a href="{{ printf $mJSON.url}}">Pleroma</a>
</div>
{{ end }}
</div>
<a href="https://brid.gy/publish/mastodon"></a>
{{ if eq .Type "article"}}

2
themes/nipponalba/static/css/style.css

@ -669,7 +669,7 @@ pre {
left:0;
}
.about, .post, .archive, .content, .feed, .stream{
.about, .post, .archive, .content, .stream{
width:95%;
margin:0 auto;
}