Files
kestrelsnest-blog/layouts/weeknotes/single.html
Eric Wagoner 84e54b08de Add weeknotes system with first entry
- Add weeknotes landing page with auto-listing of all entries
- Create first weeknote: December 20–27, 2025
- Add Weeknotes to secondary menu alongside Now/Then/Future
- Create custom layout to display all weeknotes chronologically
- Update weeknotes command to use date ranges and current time
- Credit Genehack for weeknotes inspiration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-27 11:06:20 -05:00

25 lines
743 B
HTML

{{ define "main" }}
<article class="post">
<header class="post-header">
<h1 class="post-title">{{ .Title }}</h1>
</header>
<div class="post-content">
{{ .Content }}
</div>
<h2>All Weeknotes</h2>
<ul class="posts-list">
{{ 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">
{{ partial "icon.html" (dict "ctx" $ "name" "calendar") }}
{{ .PublishDate.Format "Jan 2, 2006" }}
</span>
</li>
{{ end }}
</ul>
</article>
{{ end }}