estradiol.cloud/layouts/index.html

18 lines
443 B
HTML
Raw Normal View History

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