blob: 8b29a3d225cba2359fa1e85afb3575b5ec2c27cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{{ range ((where .Site.Pages "Params.pinned" true).ByDate.Reverse) | first 1 }}
<h2>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</h2>
<div class="pinned-post home-page-card">
<p>{{ .Summary | plainify | truncate 250 }}</p>
<div class="home-page-card-links">
<a href="{{ .Permalink }}"> Read Pinned Post </a>
</div>
<div class="home-page-card-links">
<a href="{{ `pinnedposts` | relURL }}">All Pinned</a>
</div>
</div>
{{ end }}
|