blob: f6ce3e7001240ff58a667a021727dc925b808c4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{{define "main"}}
{{- partial "hero.html" . -}}
<section id="posts" class="container text-center text-monospace mt-4">
<h3>Recent Posts</h3>
<div class="text-center">
{{range first 5 .Site.RegularPages }}
{{if eq .Section "post"}}
<div class="text-justified mt-3">
<h5><a href="{{.Permalink}}">{{.Title}}</a></h5>
<small>{{ .PublishDate.Format "January 2, 2006" }}</small>
</div>
{{end}}
{{end}}
</div>
</section>
{{end}}
|