jk.nipponalba.scot website
https://jk.nipponalba.scot
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
4.2 KiB
65 lines
4.2 KiB
{{ define "main" }}
|
|
<div class="stream h-feed">
|
|
<div class="author" style="display:none;">
|
|
<a rel="author" class="p-author h-card" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}<img src="/images/profile.jpg"/></a>
|
|
</div>
|
|
<span id="pagination-top">{{ partial "pagination.html" . }}</span>
|
|
{{ range .Paginator.Pages}}
|
|
{{ if not (eq .Type "response")}}<section data-post-type="{{ .Type }}" class="feed h-entry {{.Type }}">
|
|
<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>
|
|
{{if eq .Type "article" }}<br/><a href="{{ .RelPermalink }}" class="link u-url"><h3 class="">{{ .Title }}</h3></a><b>{{ .Description }}</b><br/>{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}{{ end }}
|
|
<div class="e-content">
|
|
{{ .Content }}
|
|
{{ if eq .Type "photo"}}
|
|
<div class="photos">
|
|
{{ range .Page.Params.Photo }}
|
|
<a class="u-url" href="{{ . }}">
|
|
<picture>
|
|
<source media="max-width:960px" srcset="{{ . }}">
|
|
<source media="max-width:480px" srcset="{{ replace . "800." "300."}}">
|
|
<img class="u-photo thumb" src="{{ replace . "800." "300."}}" srcset="{{ . }} 960w, {{ replace . "800." "300."}} 480w"/>
|
|
</picture>
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
<a href="{{ .RelPermalink }}" class="link u-url time"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a>
|
|
{{if eq .Type "article" }}<div class="post-footer">
|
|
<div class="info">
|
|
{{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }}
|
|
{{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }}
|
|
{{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }}
|
|
</div>
|
|
</div>{{end}}
|
|
</aside>
|
|
</section><hr/>
|
|
{{ else }}
|
|
<section data-post-type="{{ .Params.posttype }}" data-post-id="{{ .Params.slug }}" class="response h-entry">
|
|
<div class="author">
|
|
<a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Title }}</div></a>
|
|
</div>
|
|
<aside>
|
|
<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 .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>
|
|
{{ if .Content }}<div class="e-content">{{ .Content }}</div><br/> {{end}}
|
|
<a href="{{ .RelPermalink }}" class="link u-url time"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a>
|
|
</article>
|
|
</aside>
|
|
</section><hr/>
|
|
{{end}}
|
|
{{ end }}
|
|
<span id="pagination-bottom">{{ partial "pagination.html" . }}</span>
|
|
</div>
|
|
|
|
|
|
{{ end }}
|