Browse Source

slight formatting update

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

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

@ -26,12 +26,7 @@
</div> </div>
<div class="post-footer-page"> <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="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>
<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") }} {{ $pathJSON := (print .Permalink "bridgy.json") }}
{{ $relpathJSON := (print .RelPermalink "bridgy.json") }} {{ $relpathJSON := (print .RelPermalink "bridgy.json") }}
{{ if fileExists $relpathJSON }} {{ if fileExists $relpathJSON }}
@ -40,6 +35,11 @@
Syndicated to <a href="{{ printf $mJSON.url}}">Pleroma</a> Syndicated to <a href="{{ printf $mJSON.url}}">Pleroma</a>
</div> </div>
{{ end }} {{ 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>
</div> </div>
<a href="https://brid.gy/publish/mastodon"></a> <a href="https://brid.gy/publish/mastodon"></a>
{{ if eq .Type "article"}} {{ if eq .Type "article"}}

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

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