2020-01-12 14:14:15 +01:00
|
|
|
<section id="main">
|
2020-01-12 21:05:46 +01:00
|
|
|
{{ $pages := .Pages }}
|
|
|
|
{{ if .IsHome }}
|
|
|
|
{{ $pages = .Site.RegularPages }}
|
|
|
|
{{ end }}
|
|
|
|
{{ $paginator := .Paginate $pages }}
|
|
|
|
<!--
|
2020-02-09 12:20:47 +01:00
|
|
|
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "post") }}
|
|
|
|
-->
|
2020-01-12 21:05:46 +01:00
|
|
|
{{ range $paginator.Pages }}
|
|
|
|
<article class="article article-type-post" itemscope="" itemprop="blogPost">
|
|
|
|
<div class="article-inner">
|
|
|
|
{{ if and (isset .Params "banner") (not (eq .Params.banner "")) }}
|
|
|
|
<a href="{{ .Permalink }}" itemprop="url">
|
2022-08-08 21:00:45 +02:00
|
|
|
<img src="{{ .Site.BaseURL }}/{{ .Params.banner }}" class="article-banner"> {{ end }}
|
2020-01-12 21:05:46 +01:00
|
|
|
</a>
|
|
|
|
{{ partial "article_header" . }}
|
|
|
|
<div class="article-entry" itemprop="articleBody">
|
2023-12-16 00:45:03 +01:00
|
|
|
<p>{{ .Summary }} ...</p>
|
2020-01-12 21:05:46 +01:00
|
|
|
<p class="article-more-link">
|
2020-06-06 02:32:29 +02:00
|
|
|
<a href="{{ .Permalink }}">
|
|
|
|
Read more
|
|
|
|
<!--
|
2020-02-09 12:20:47 +01:00
|
|
|
{{ with .Site.Data.l10n.articles.read_more }}{{ . }}{{ end }}
|
|
|
|
-->
|
2020-06-06 02:32:29 +02:00
|
|
|
</a>
|
2020-01-12 21:05:46 +01:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<!--
|
2020-02-09 12:20:47 +01:00
|
|
|
{{ partial "article_footer" . }}
|
|
|
|
-->
|
2020-01-12 21:05:46 +01:00
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{{ end }}
|
|
|
|
{{ partial "pagination" . }}
|
2020-06-06 02:32:29 +02:00
|
|
|
</section>
|