Add weeknote for January 4-10, 2026 and fix list template excerpts

- New weeknote covering the week's shipped work, reading, gaming, cooking, and observations
- Fixed list templates to show description excerpts consistently across main index and weeknotes page
- Updated layouts/_default/list.html to check .Params.description before .Description
- Updated layouts/weeknotes/single.html to display full excerpts with reading time

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Eric Wagoner
2026-01-10 14:42:55 -05:00
parent ca05e826f2
commit 1a5d864d9b
6 changed files with 78 additions and 0 deletions

View File

@@ -13,9 +13,25 @@
{{ range (where .Site.RegularPages "Params.tags" "intersect" (slice "weeknotes")).ByDate.Reverse }}
<li class="posts-list-item">
<a class="posts-list-item-title" href="{{ .Permalink }}">{{ .Title }}</a>
<span class="posts-list-item-description">
<div>
{{ if .Params.preview }}
<br />{{ .Params.preview }}<br />(more inside)<br /><br />
{{ else if .Params.description }}
<br />{{ .Params.description }}<br />(more inside)<br /><br />
{{ else if .Description }}
<br />{{ .Description }}<br />(more inside)<br /><br />
{{ else }}
{{ .Summary }}
{{ end }}
</div>
</span>
<span class="posts-list-item-description">
{{ partial "icon.html" (dict "ctx" $ "name" "calendar") }}
{{ .PublishDate.Format "Jan 2, 2006" }}
<span class="posts-list-item-separator">-</span>
{{ partial "icon.html" (dict "ctx" $ "name" "clock") }}
{{ .ReadingTime }} min read
</span>
</li>
{{ end }}