|
@ -0,0 +1,23 @@ |
|
|
|
|
|
{{ define "main" }} |
|
|
|
|
|
<div class="all"> |
|
|
|
|
|
<h1>All posts</h1> |
|
|
|
|
|
{{ range .Site.RegularPages }} |
|
|
|
|
|
{{ if eq .Type "post"}} |
|
|
|
|
|
<article class="h-entry entry"> |
|
|
|
|
|
<div class="h-card p-author" style="display: none;"> |
|
|
|
|
|
<a rel="author" class= "p-name u-url" href="https://jk.nipponalba.scot">J K 🇯🇵🏴</a> |
|
|
|
|
|
<img class="u-photo" src="/images/profile.jpg" /> |
|
|
|
|
|
</div> |
|
|
|
|
|
<h3 class="post-title p-name entry-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3> |
|
|
|
|
|
<h4 class="decription"><a href="{{ .RelPermalink }}">{{ .Description }}</a></h4> |
|
|
|
|
|
<div class="info"> |
|
|
|
|
|
<i class="fa fa-sun"></i><span class="date"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span> |
|
|
|
|
|
<i class="fa fa-clock"></i><span class="reading-time">{{ .ReadingTime }}-minute read</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="e-content">{{ .Content }}</div> |
|
|
|
|
|
</article> |
|
|
|
|
|
{{ end }} |
|
|
|
|
|
{{ end }} |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
{{ end }} |