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">
|
2024-04-28 17:48:24 +02:00
|
|
|
<img src="{{ .Site.BaseURL }}/{{ .Params.banner }}" class="article-banner">
|
2020-01-12 21:05:46 +01:00
|
|
|
</a>
|
2024-04-28 17:48:24 +02:00
|
|
|
{{ end }}
|
2020-01-12 21:05:46 +01:00
|
|
|
{{ 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
|
|
|
|
</a>
|
2020-01-12 21:05:46 +01:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{{ end }}
|
|
|
|
{{ partial "pagination" . }}
|
2020-06-06 02:32:29 +02:00
|
|
|
</section>
|