Browse Source

webmentions stuff

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

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

@ -37,9 +37,9 @@
</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 }}
{{ with .Page.Params.Blog }}Blog: {{ partial "taxonomy/blog.html" . }}<br/>{{ end }}
{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}<br/>{{ end }}
{{ with .Page.Params.tag }}Tags: {{ partial "taxonomy/tags.html" . }}{{ end }}
</div>
</div>
<a href="https://brid.gy/publish/mastodon"></a>
@ -97,7 +97,7 @@
{{ if .Params.likeof }}<p>Liked <a href="{{ .Params.likeof }}" class="u-url u-like-of"> {{ .Params.likeof }}</a>{{ end }}
{{ if .Params.inreplyto }}<p>Replied to <a href="{{ .Params.inreplyto }}" class="u-url u-in-reply-to"> {{ .Params.inreplyto }}</a>{{ end }}
{{ if .Params.repostof }}<p>Shared <a href="{{ .Params.repostof }}" class="u-url u-repost-of"> {{ .Params.repostof }}</a>{{ end }}</p>
{{ if .Content }}<div class="p-name p-content"><p>{{ .Content }}</p></div><br/> {{end}}
{{ if .Content }}<div class="p-name p-content"><p>{{ .Content }}</p></div> {{end}}
</div>
<div class="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></div>
</article>