Browse Source

trying to fix responses tab

master
jk 5 years ago
parent
commit
82dc0dc787
  1. 16
      layouts/_default/section.html

16
layouts/_default/section.html

@ -32,19 +32,19 @@
</aside> </aside>
</section><hr/> </section><hr/>
{{ else }} {{ else }}
<section data-post-type="{{ .posttype }}" data-post-id="{{ .slug }}"class="h-entry">
<section data-post-type="{{ .Page.Params.posttype }}" data-post-id="{{ .Page.Params.slug }}"class="h-entry">
<div class="author" style="display:none;"> <div class="author" style="display:none;">
<a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}<img src="/images/profile.jpg"/></a> <a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}<img src="/images/profile.jpg"/></a>
</div> </div>
<aside> <aside>
<article class="u-{{ .posttype }} h-cite">
{{ if .likeof }}<p> Liked {{ end }}
{{ if .inreplyto }}<p> Replied to {{ end }}
{{ if .repostof }}<p>Shared {{ end }}
<article class="u-{{ .Page.Params.posttype }} h-cite">
{{ if .Page.Params.inreplyto }}<p> Replied to {{ end }}
{{ if .Page.Params.likeof }}<p> Liked {{ end }}
{{ if .Page.Params.repostof }}<p>Shared {{ end }}
someone's someone's
{{ if .likeof }}<a href="{{ .likeof }}" class="link u-url"> post</a>{{ end }}
{{ if .inreplyto }}<a href="{{ .inreplyto }}" class="link u-url"> post</a>{{ end }}
{{ if .repostof }}<a href="{{ .repostof }}" class="link u-url"> post</a>{{ end }}</p>
{{ if .Page.Params.likeof }}<a href="{{ .Page.Params.likeof }}" class="link u-url"> post</a>{{ end }}
{{ if .Page.Params.inreplyto }}<a href="{{ .Page.Params.inreplyto }}" class="link u-url"> post</a>{{ end }}
{{ if .Page.Params.repostof }}<a href="{{ .Page.Params.repostof }}" class="link u-url"> post</a>{{ end }}</p>
<div class="e-content">{{ .content }}</div><br/> <div class="e-content">{{ .content }}</div><br/>
<time class="dt-published" datetime="{{ dateFormat "02/01/2006 15:04 GMT" .date }}">{{ dateFormat "02/01/2006 15:04 GMT" .date }}</time> <time class="dt-published" datetime="{{ dateFormat "02/01/2006 15:04 GMT" .date }}">{{ dateFormat "02/01/2006 15:04 GMT" .date }}</time>
</article> </article>