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.
|
|
{{ define "main" }} <div class="archive"> <div 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></div> <ul class="list-with-title"> {{ if eq .Type "article" "blog"}}{{ range .Data.Pages.GroupByDate "2006" }} <div class="listing-title">{{ .Key }}</div> {{ range .Pages }} <ul class="listing"> <div class="listing-item"> {{ if eq .Type "article" "blog"}} <div class="listing-post"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a> <div class="post-time"><span class="date">{{.Date.Format "Jan 2" }}</span></div> </div> {{end}} </div> </ul>{{ end }}{{end}}{{else}} {{ range .Pages }} <ul class="listing"> <div class="listing-item"> {{ if not (eq .Type "note" "photo") }}<div class="listing-post"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</div>{{else}} <div class="listing-post"><a href="{{ .Permalink }}" title="{{ .Summary }}"><b>{{ humanize .Type }}:</b> {{ .Summary }}</div>{{end}} </div> </ul>{{ end }} {{ end }}</ul> </div> {{ end }}
|