|
|
@ -2,7 +2,7 @@ |
|
|
|
<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"> |
|
|
|
{{ range .Data.Pages.GroupByDate "2006" }} |
|
|
|
{{ if eq .Type "article" "blog"}}{{ range .Data.Pages.GroupByDate "2006" }} |
|
|
|
<div class="listing-title">{{ .Key }}</div> |
|
|
|
{{ range .Pages }} |
|
|
|
<ul class="listing"> |
|
|
@ -13,7 +13,14 @@ |
|
|
|
</div> |
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
</ul>{{ end }} |
|
|
|
</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 }} |