Browse Source

trying to fix responses tab

master
jk 4 years ago
parent
commit
9cb836d282
  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="{{ .Page.Params "posttype" }}" data-post-id="{{ .Page.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-{{ .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
{{ 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 .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/>
<time class="dt-published" datetime="{{ dateFormat "02/01/2006 15:04 GMT" .date }}">{{ dateFormat "02/01/2006 15:04 GMT" .date }}</time>
</article>