|
|
@ -2,15 +2,14 @@ |
|
|
|
<section class="archive"> |
|
|
|
<section class="archive-listing"> |
|
|
|
<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> |
|
|
|
{{ if eq .Type "article" "blog"}}{{ range .Data.Pages.GroupByDate "2006" }} |
|
|
|
{{ if eq .Type "article" "blog"}}<ul class="listing">{{ range .Data.Pages.GroupByDate "2006" }} |
|
|
|
{{ range .Pages }} |
|
|
|
<ul class="listing"> |
|
|
|
<li class="archive-listing-item"> |
|
|
|
{{ if eq .Type "blog"}} |
|
|
|
<span class="list-blog"><a class="u-url" href="{{ .Permalink }}" title="{{ .Title }}"> |
|
|
|
{{ $image := (replace .Title " " "") }} |
|
|
|
{{ $image := print "/images/" $image ".jpg" }} |
|
|
|
<img class="banner" src="{{ ( $image | urlize ) | relLangURL }}"/> |
|
|
|
<img class="banner" src="{{ ( $image | urlize ) | relLangURL }}" /> |
|
|
|
<span class="p-name entry-title">{{ .Title }}</span></a> |
|
|
|
</span> |
|
|
|
{{end}} |
|
|
@ -21,9 +20,9 @@ |
|
|
|
</a></span> |
|
|
|
{{end}} |
|
|
|
</li> |
|
|
|
</ul>{{ end }}{{end}}{{else}} |
|
|
|
{{ end }}{{end}}</ul>{{else}} |
|
|
|
<ul class="listing"> |
|
|
|
{{ range .Pages }} |
|
|
|
<ul class="listing"> |
|
|
|
<li class="archive-listing-item"> |
|
|
|
{{ if not (eq .Type "note" "photo") }} |
|
|
|
{{ if eq .Type "article"}} |
|
|
@ -48,7 +47,7 @@ |
|
|
|
</section> |
|
|
|
</a></article>{{end}}{{end}} |
|
|
|
</li> |
|
|
|
</ul>{{ end }} |
|
|
|
{{ end }}</ul> |
|
|
|
{{ end }} |
|
|
|
</section> |
|
|
|
</section> |
|
|
|