|
@ -1,8 +1,9 @@ |
|
|
{{ define "main" }} |
|
|
{{ define "main" }} |
|
|
|
|
|
|
|
|
<main> |
|
|
<main> |
|
|
<div class="contents"> |
|
|
<div class="contents"> |
|
|
<span id="pagination-top">{{ partial "pagination.html" . }}</span> |
|
|
<span id="pagination-top">{{ partial "pagination.html" . }}</span> |
|
|
{{ range .Paginator.Pages }} |
|
|
|
|
|
|
|
|
{{ range .Paginator.Pages}} |
|
|
{{ if not (eq .Type "response")}}<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;"> |
|
|
<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> |
|
|
<a rel="author" class="p-name u-url u-uid" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}</a> |
|
@ -29,10 +30,8 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div>{{end}} |
|
|
</div>{{end}} |
|
|
</aside> |
|
|
</aside> |
|
|
</section><hr/>{{end}} |
|
|
|
|
|
{{ if eq .Type "response"}} |
|
|
|
|
|
{{range .Site.Data.response}} |
|
|
|
|
|
{{range .entries}} |
|
|
|
|
|
|
|
|
</section><hr/> |
|
|
|
|
|
{{ else }} |
|
|
<section data-post-type="{{ .posttype }}" data-post-id="{{ .slug }}"class="h-entry"> |
|
|
<section data-post-type="{{ .posttype }}" data-post-id="{{ .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> |
|
@ -47,13 +46,10 @@ |
|
|
{{ if .inreplyto }}<a href="{{ .inreplyto }}" 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 .repostof }}<a href="{{ .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> |
|
|
</aside> |
|
|
</aside> |
|
|
</section><hr/> |
|
|
|
|
|
{{end}} |
|
|
|
|
|
{{end}} |
|
|
|
|
|
|
|
|
</section><hr/>{{.posttype}} |
|
|
{{end}} |
|
|
{{end}} |
|
|
{{ end }} |
|
|
{{ end }} |
|
|
<span id="pagination-bottom">{{ partial "pagination.html" . }}</span> |
|
|
<span id="pagination-bottom">{{ partial "pagination.html" . }}</span> |
|
|