Browse Source

trying to fix webmentions

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

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

@ -100,9 +100,10 @@
{{ if .Params.xContent }}<section class="replyContext"><span class="remotePhoto"><a href="{{ .Params.xAuthorUrl }}" target="_blank"><img src="{{ .Params.xPhoto }}" title="{{ .Params.xAuthor }}" alt="{{ .Params.xAuthor }}'s avatar"/></a></span><span class="response-date">{{ dateFormat "Mon, 02 Jan 2006 15:04:05 GMT" .Params.xPublished }}</span><span class="response-text">{{ plainify .Params.xContent }}
{{ if .Params.xContentPhoto }}<br/><br/>{{ range .Params.xContentPhoto }}<img class="u-photo xContentPhoto" src="{{ . }}"/>{{ end }}{{ end }}</span></section>{{end}}
{{ if .Content }}<section class="p-name e-content"><br/>{{ .Content }}</section>{{ end }}
</section>
{{ if not (eq .Type "article") }}<section class="info">
</section>{{ end }}
<span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span><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><br/>
</section>{{ end }}</section>
<a class="u-url" style="display:none;" href="https://fed.brid.gy/">https://fed.brid.gy/</a>
</article>
{{end}}