Browse Source

tinkering with webmentions stuff

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

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

@ -11,7 +11,8 @@
<i class="fa fa-clock"></i><span class="reading-time">{{ .ReadingTime }}-minute read</span> <i class="fa fa-clock"></i><span class="reading-time">{{ .ReadingTime }}-minute read</span>
</div>{{end}} </div>{{end}}
<div class="e-content">{{ .Content }}
<div class="e-content"><a href="https://webmention.io/jk.nipponalba.scot/webmention" rel="webmention" style="display:none">webmention</a>
{{ .Content }}
{{ if eq .Type "photo"}} {{ if eq .Type "photo"}}
<div class="photos"> <div class="photos">
{{ range .Page.Params.Photo }} {{ range .Page.Params.Photo }}
@ -105,6 +106,7 @@
{{ if .Params.repostof }}<a href="{{ .Params.repostof }}" class="u-repost-of"> post</a>{{ end }}</p> {{ if .Params.repostof }}<a href="{{ .Params.repostof }}" class="u-repost-of"> post</a>{{ end }}</p>
{{ if .Content }}<div class="p-name p-content">{{ .Content }}</div><br/> {{end}} {{ if .Content }}<div class="p-name p-content">{{ .Content }}</div><br/> {{end}}
<time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time> <time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time>
<a href="{{ .Permalink }}" class="u-url"></a>
</div></aside> </div></aside>
</article> </article>
{{end}} {{end}}