{{ 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 -&gt;</a>
{{ partial "foot.html" . }}
