|
|
@ -3,7 +3,7 @@ |
|
|
|
<div class="contents"> |
|
|
|
<span id="pagination-top">{{ partial "pagination.html" . }}</span> |
|
|
|
{{ range .Paginator.Pages }} |
|
|
|
<section data-post-type="{{ .Type }}" class="h-entry {{.Type }}"> |
|
|
|
{{ if not (eq .Type "response")}}<section data-post-type="{{ .Type }}" class="h-entry {{.Type }}"> |
|
|
|
<div class="p-author author" style="display:none;"> |
|
|
|
<a rel="author" class="p-name u-url u-uid" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}</a> |
|
|
|
<img class="u-photo" src="/images/profile.jpg"/> |
|
|
@ -29,7 +29,32 @@ |
|
|
|
</div> |
|
|
|
</div>{{end}} |
|
|
|
</aside> |
|
|
|
</section><hr/> |
|
|
|
</section><hr/>{{end}} |
|
|
|
{{ if eq .Type "response"}} |
|
|
|
{{range .Site.Data.response}} |
|
|
|
{{range .entries}} |
|
|
|
<section data-post-type="{{ .posttype }}" data-post-id="{{ .slug }}"class="h-entry"> |
|
|
|
<div class="p-author author" style="display:none;"> |
|
|
|
<a rel="author" class="p-name u-url u-uid" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}</a> |
|
|
|
<img class="u-photo" src="/images/profile.jpg"/> |
|
|
|
</div> |
|
|
|
<aside> |
|
|
|
<article class="u-{{ .posttype }} h-cite"> |
|
|
|
{{ if .likeof }}<p> Liked {{ end }} |
|
|
|
{{ if .inreplyto }}<p> Replied to {{ end }} |
|
|
|
{{ if .repostof }}<p>Shared {{ end }} |
|
|
|
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> |
|
|
|
<div class="e-content">{{ .content }}</div><br/> |
|
|
|
<a href="{{ .slug | relLangURL }}" class="link u-url time"><time class="dt-published" datetime="{{ .date }}">{{ .date }}</time></a> |
|
|
|
</article> |
|
|
|
</aside> |
|
|
|
</section><hr/> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
{{ end }} |
|
|
|
<span id="pagination-bottom">{{ partial "pagination.html" . }}</span> |
|
|
|
</div> |
|
|
|