Browse Source

trying to fix responses tab

master
jk 5 years ago
parent
commit
57d49b610f
  1. 16
      layouts/_default/section.html

16
layouts/_default/section.html

@ -32,19 +32,19 @@
</aside>
</section><hr/>
{{ else }}
<section data-post-type="{{ .Page.Params "posttype" }}" data-post-id="{{ .Page.Params "slug" }}"class="h-entry">
<section data-post-type="{{ .Params.posttype }}" data-post-id="{{ .Params.slug }}"class="h-entry">
<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>
</div>
<aside>
<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 }}
<article class="u-{{ .Params.posttype }} h-cite">
{{ if .Params.inreplyto }}<p> Replied to {{ end }}
{{ if .Params.likeof }}<p> Liked {{ end }}
{{ if .Params.repostof }}<p>Shared {{ end }}
someone's
{{ 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>
{{ if .Params.likeof }}<a href="{{ .Params.likeof }}" class="link u-url"> post</a>{{ end }}
{{ if .Params.inreplyto }}<a href="{{ .Params.inreplyto }}" class="link u-url"> post</a>{{ end }}
{{ if .Params.repostof }}<a href="{{ .Params.repostof }}" class="link u-url"> post</a>{{ end }}</p>
<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>
</article>