|
@ -2,7 +2,7 @@ |
|
|
<div class="archive"> |
|
|
<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> |
|
|
<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"> |
|
|
<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> |
|
|
<div class="listing-title">{{ .Key }}</div> |
|
|
{{ range .Pages }} |
|
|
{{ range .Pages }} |
|
|
<ul class="listing"> |
|
|
<ul class="listing"> |
|
@ -13,6 +13,13 @@ |
|
|
</div> |
|
|
</div> |
|
|
{{end}} |
|
|
{{end}} |
|
|
</div> |
|
|
</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 }} |
|
|
</ul>{{ end }} |
|
|
{{ end }}</ul> |
|
|
{{ end }}</ul> |
|
|
</div> |
|
|
</div> |
|
|