2024-03-04 14:59:15 -08:00
|
|
|
{{ define "main" }}
|
|
|
|
<main aria-role="main">
|
|
|
|
<div class="homepage-content">
|
2024-03-12 21:59:59 -07:00
|
|
|
{{ .Content }} <!-- content/_index.md -->
|
2024-03-04 14:59:15 -08:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<h2>Recently</h2>
|
|
|
|
<ul>
|
2024-03-12 21:59:59 -07:00
|
|
|
{{- range first 10 .Site.RegularPages -}}
|
2024-03-04 14:59:15 -08:00
|
|
|
<li class="nomarker">
|
|
|
|
{{ .PublishDate | time.Format "2006-01-02" }} — <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
|
|
|
</li>
|
2024-03-12 21:59:59 -07:00
|
|
|
{{- end -}}
|
2024-03-04 14:59:15 -08:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
{{ end }}
|