blob: 5ed661f1326a8bffcec144405f51d349ffc836f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<div class="pinned-post card shadow round-corner">
{{ if .Site.Params.theme.pinnedPosts }}
{{ range (where .Site.Pages "Params.pinned" true).ByDate.Reverse | first 1 }} {{ partial "index/homePageArticle" . }}
{{ end }}
<hr class="red-hr" />
<div style="text-align: right; margin-bottom: 1em">
<a class="card-links" href="{{ `pinnedposts` | relURL }}"
>Previously Pinned Posts</a
>
</div>
{{ else }}
{{ range site.RegularPages.ByDate.Reverse | first 1 }}
{{ partial "index/homePageArticle" . }}
{{ end }}
{{ end }}
</div>
|