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.
39 lines
1.8 KiB
39 lines
1.8 KiB
{{ define "main" }}
|
|
|
|
<div class="about">
|
|
<h1>Latest post</h1>
|
|
{{ range first 1 .Site.RegularPages }}
|
|
<article class="post h-entry entry contents">
|
|
<div class="{{.Type}}" data-post-type="{{.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" /></div>
|
|
<div class="post-content">{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}<h3 class="post-title p-name entry-title">{{ .Title }}</h3>
|
|
<aside>
|
|
<div class="index_info">
|
|
<i class="fa fa-sun"></i><a class="u-url" href="{{ .RelPermalink }}"><span class="date"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span></a>
|
|
<i class="fa fa-clock"></i><span class="reading-time">{{ .ReadingTime }}-minute read</span>
|
|
</div>
|
|
|
|
<div class="e-content">{{ .Content }}
|
|
{{ if eq .Type "photo"}}
|
|
<div class="photos">
|
|
{{ range .Page.Params.Photo }}
|
|
<a class="u-url" href="{{ . }}"><img class="u-photo thumb" src="{{ replace . "800." "200."}}"/></a>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
|
|
<div class="index-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>
|
|
</aside></div>
|
|
</div>
|
|
<a href="https://brid.gy/publish/mastodon"></a>
|
|
</article>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|