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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 

27 lines
1.3 KiB

{{ define "main" }}
<section class="archive">
<span class="list-title">{{if not (eq .Name "Blog")}}{{ .Name }}{{ end }}{{if eq .Name "Blog"}}All Blogs{{ end }} <a href="{{ .Permalink }}index.xml"><i class="fa fa-rss fa-2x fa-fw" aria-hidden="true" title="{{ .Name }} RSS feed"></i></a></span>
<ul class="list-with-title">
{{ if eq .Type "article" "blog"}}{{ range .Data.Pages.GroupByDate "2006" }}
<span class="listing-title">{{ .Key }}</span>
{{ range .Pages }}
<ul class="listing">
<li class="listing-item">
{{ if eq .Type "article" "blog"}}
<span class="listing-post"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
<time class="post-time"><span class="date">{{.Date.Format "Jan 2" }}</span></time>
</span>
{{end}}
</li>
</ul>{{ end }}{{end}}{{else}}
{{ range .Pages }}
<ul class="listing">
<li class="listing-item">
{{ if not (eq .Type "note" "photo") }}<span class="listing-post"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</span>{{else}}
<span class="listing-post"><a href="{{ .Permalink }}" title="{{ .Summary }}"><b>{{ humanize .Type }}:</b> {{ .Summary }}</span>{{end}}
</li>
</ul>{{ end }}
{{ end }}
</ul>
</section>
{{ end }}