Browse Source

updated single page microformats for webmentions

master
jk 4 years ago
parent
commit
4e60ce744f
  1. 6
      layouts/_default/section.html
  2. 6
      themes/nipponalba/layouts/_default/single.html

6
layouts/_default/section.html

@ -49,9 +49,9 @@
{{ if .Params.likeof }}<article class="h-cite"><p> Liked {{ end }} {{ if .Params.likeof }}<article class="h-cite"><p> Liked {{ end }}
{{ if .Params.repostof }}<article class="h-cite"><p>Shared {{ end }} {{ if .Params.repostof }}<article class="h-cite"><p>Shared {{ end }}
someone's someone's
{{ if .Params.likeof }}<a href="{{ .Params.likeof }}" class="link u-like-of"> post</a>{{ end }}
{{ if .Params.inreplyto }}<a href="{{ .Params.inreplyto }}" class="link u-in-reply-to"> post</a>{{ end }}
{{ if .Params.repostof }}<a href="{{ .Params.repostof }}" class="link u-repost-of"> post</a>{{ end }}</p>
{{ if .Params.likeof }}<a href="{{ .Params.likeof }}" class="u-like-of"> post</a>{{ end }}
{{ if .Params.inreplyto }}<a href="{{ .Params.inreplyto }}" class="u-in-reply-to"> post</a>{{ end }}
{{ 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}}
<a href="{{ .RelPermalink }}" class="link u-url time"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a> <a href="{{ .RelPermalink }}" class="link u-url time"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a>
</article> </article>

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

@ -99,9 +99,9 @@
{{ if .Params.likeof }}<article class="h-cite"><p> Liked {{ end }} {{ if .Params.likeof }}<article class="h-cite"><p> Liked {{ end }}
{{ if .Params.repostof }}<article class="h-cite"><p>Shared {{ end }} {{ if .Params.repostof }}<article class="h-cite"><p>Shared {{ end }}
someone's someone's
{{ if .Params.likeof }}<a href="{{ .Params.likeof }}" class="link u-like-of"> post</a>{{ end }}
{{ if .Params.inreplyto }}<a href="{{ .Params.inreplyto }}" class="link u-in-reply-to"> post</a>{{ end }}
{{ if .Params.repostof }}<a href="{{ .Params.repostof }}" class="link u-repost-of"> post</a>{{ end }}</p>
{{ if .Params.likeof }}<a href="{{ .Params.likeof }}" class="u-like-of"> post</a>{{ end }}
{{ if .Params.inreplyto }}<a href="{{ .Params.inreplyto }}" class="u-in-reply-to"> post</a>{{ end }}
{{ 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}}
<a href="{{ .RelPermalink }}" class="link u-url time"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a> <a href="{{ .RelPermalink }}" class="link u-url time"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a>
</article> </article>