blob: ad509563350cc7cbf52a9281a8253d76fdd8bf79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
{{ range $paginator.Pages }}
<section id="main" class="post type-post status-publish format-standard has-post-thumbnail hentry">
<article>
{{ if and (isset .Params "banner") (not (eq .Params.banner "")) }}
<figure class="post-featured-image">
<a href="{{ .RelPermalink }}" itemprop="url">
<img src="{{ .Params.banner | absURL }}" class="attachment-featured size-featured wp-post-image"/>
</a>
</figure>
{{ end }}
{{ partial "article_header" . }}
<div class="article-entry entry-content clearfix" itemprop="articleBody">
<p>
{{ printf "%s" .Summary | markdownify }}
<br>
</p>
{{ partial "share" . }}
</div>
{{ partial "article_footer" . }}
<span>
<a class="readmore" href="{{ .Permalink }}">
{{ with .Site.Data.l10n.articles.read_more }}{{ . }}{{ end }}
</a>
</span>
</div>
</article>
</section>
{{ end }}
{{ partial "pagination" . }}
|