2019-03-18 16:50:46 +01:00
{{ partial "head" . }}
2019-10-14 16:06:54 +02:00
< body >
< div id = "wrap" >
<!-- Header -->
{{ partial "header" . }}
2019-10-19 19:51:46 +02:00
<!-- is page a category or tag page? -->
{{- $selection := false -}}
{{- if (isset .Data "Singular") -}}
{{- $selection = true -}}
{{- end -}}
2019-10-14 16:06:54 +02:00
< div class = "container archive" >
< h1 > {{ .Site.Params.Blog.Headline }}
2019-10-19 19:51:46 +02:00
{{- if $selection -}}
2019-10-14 16:06:54 +02:00
< br / > ({{ .Data.Singular | humanize }}: {{lower .Title}})
2019-10-19 19:51:46 +02:00
{{- end -}}
2019-10-14 16:06:54 +02:00
< / h1 >
{{ if .Site.Params.Social.CommentsProvider }}
< p > < a href = "{{ .Site.Params.Social.CommentsProvider }}" > Subscribe< / a > to my Blog via Diaspora, Mastodon, Friendica or GNU Social. Never miss a article! Reshare, like and discuss it!< / p >
{{ end }}
2019-10-19 19:51:46 +02:00
< div class = "metadata-page" >
< div class = "row vertical-align" >
< div class = "col-xs-3 col-md-2 text-right" >
< em > Languages:< / em >
< / div >
< div class = "col-xs-9 col-md-10" >
< a class = "label label-success {{if not $selection}}active{{end}}" href = "/blog" > All< / a >
{{ range $name, $taxonomy := .Site.Taxonomies.categories }}
< a class = "label label-success {{if eq $name $.Title}}active{{end}}" href = "{{ " / categories / " | relLangURL } } { { $ name | urlize } } " >
{{- humanize $name -}}
< / a >
{{- end -}}
< / div >
< / div >
< div class = "row vertical-align" >
< div class = "col-xs-3 col-md-2 text-right" >
< em > Tags:< / em >
< / div >
< div class = "col-xs-9 col-md-10" >
< a class = "label label-success {{if not $selection}}active{{end}}" href = "/blog" > All< / a >
{{ range $name, $taxonomy := .Site.Taxonomies.tags }}
< a class = "label label-success {{if eq $name $.Title}}active{{end}}" href = "{{ " / tags / " | relLangURL } } { { $ name | urlize } } " >
{{- humanize $name -}}
< / a >
{{- end -}}
< / div >
< / div >
< div class = "row vertical-align" >
< div class = "col-xs-3 col-md-2 text-right" >
< em > RSS Feed:< / em >
< / div >
< div class = "col-xs-9 col-md-10" >
{{ if $selection }}
< span class = "article-rss" > < a class = "label label-rss" href = "/{{ .Data.Plural }}/{{lower .Title}}/index.xml" title = "RSS Feed" > < i class = "fa fa-rss" aria-hidden = "true" > < / i > Subscribe to »{{.Title}}«< / a > < / span >
{{ else }}
2019-10-21 20:05:58 +02:00
< span class = "article-rss" > < a class = "label label-rss" href = "/blog/index.xml" title = "RSS Feed" > < i class = "fa fa-rss" aria-hidden = "true" > < / i > Subscribe to all posts< / a > < / span >
2019-10-19 19:51:46 +02:00
{{ end }}
< / div >
< / div >
< / div >
2019-10-14 16:06:54 +02:00
< div class = "panel panel-default panel-overview" >
< div class = "blogpost" >
2019-10-18 19:05:19 +02:00
{{ range .Paginator.Pages.ByPublishDate.Reverse }}
2019-10-14 16:06:54 +02:00
< div class = "blog-summary" >
< h4 > < strong > < a href = "{{ .RelPermalink }}" > {{ .Title | markdownify }}< / a > < / strong > < / h4 >
2019-10-19 19:51:46 +02:00
< div class = "metadata-summary" > Posted on {{ .Date.Format "2 January 2006" }} - Tagged with {{ range $i, $tag := .Params.tags }}{{ if $i }}, {{ end }}< a href = "/tags/{{ lower $tag }}" > {{ $tag }}< / a > {{ end }}< / div >
2019-10-14 16:06:54 +02:00
< p > {{ .Summary }} < a class = "learn-more" href = "{{ .RelPermalink }}" > < / a > < / p >
2019-03-18 16:50:46 +01:00
< / div >
2019-10-14 16:06:54 +02:00
{{ end }}
2019-10-18 19:05:19 +02:00
{{ template "_internal/pagination.html" . }}
2019-10-14 16:06:54 +02:00
< / div >
2019-03-18 16:50:46 +01:00
< / div >
< / div >
2019-10-14 16:06:54 +02:00
< / div >
<!-- Footer -->
{{ partial "footer" . }}
< / body >
2019-03-18 16:50:46 +01:00
< / html >