blob: 478f8e9918d1086f8112d4edaaa8e02a3f5fa992 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{{ partial "head.html" . }}
<h3>My Newest Project</h3>
<hr>
{{ range first 1 (where (where .Site.RegularPages "Section" "projects") "Params.nohtml" "!=" "true") }}
<div class="list p-3 rounded-3">
<img src="/{{ .Params.icon }}">
<a href="{{.Permalink}}">{{.Title}}</a>
<p>{{ .Params.description }}</p>
<span>Started {{ .Date.Format "January 2, 2006" }}</span>
</div>
<br>
{{ end }}
<h3>Recent Blog Posts</h3>
<hr>
{{ range first 4 (where (where .Site.RegularPages "Section" "blog") "Params.nohtml" "!=" "true") }}
<div class="list p-3 rounded-3">
<a href="{{.Permalink}}">{{.Title}}</a>
<span><br>{{.Date.Format "January 2, 2006"}}</span>
</div>
{{ end }}
<a href="/blog" style="float: right;">View all posts -></a>
{{ partial "foot.html" . }}
|