This commit is contained in:
2026-08-15 10:38:53 -07:00
parent 68dfdfa33b
commit 8d43f5259b
30 changed files with 1002 additions and 768 deletions
+9 -4
View File
@@ -1,17 +1,22 @@
{{ define "main" }}
<section class="section container">
<header class="section__header">
<p class="section__eyebrow">Index</p>
<h1 class="section__title">{{ .Title }}</h1>
{{ with .Content }}
<div class="section__intro content">{{ . }}</div>
{{ end }}
</header>
<ul class="post-list">
<ol class="log__list">
{{ range .Pages.ByDate.Reverse }}
<li class="post-list__item">
{{ partial "post-card.html" . }}
<li class="log__item">
<a class="log__row" href="{{ .RelPermalink }}">
<time class="log__date" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "060102" }}</time>
<span class="log__type">{{ with .Params.type }}{{ . }}{{ else }}note{{ end }}</span>
<span class="log__name">{{ .Title }}</span>
</a>
</li>
{{ end }}
</ul>
</ol>
</section>
{{ end }}