- Add final part of LocallyGrown.net series: "From Survival to Sustainability" - Implement Hugo series taxonomy for better content organization - Add series navigation partial showing all 6 parts with prev/next links - Update all LocallyGrown posts with series metadata and ordering - Display series indicators on index page for connected content - Style series navigation with responsive design and dark mode support - Fix series links across all posts to use correct slugs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
{{ define "main" }}
|
|
<article>
|
|
<h1>{{ .Title }}</h1>
|
|
<ul class="posts-list">
|
|
{{ range where .Paginator.Pages "Type" "!=" "page" }}
|
|
<li class="posts-list-item">
|
|
<a class="posts-list-item-title" href="{{ .Permalink }}">{{ .Title }}</a>
|
|
{{ if .Params.series }}
|
|
{{ $series := index .Params.series 0 }}
|
|
{{ $order := .Params.series_order }}
|
|
<span class="series-indicator">
|
|
{{ partial "icon.html" (dict "ctx" $ "name" "book") }}
|
|
Part {{ $order }} of {{ $series }}
|
|
</span>
|
|
{{ end }}
|
|
<span class="posts-list-item-description">
|
|
<div>
|
|
{{ if .Description }}
|
|
<br />{{ .Description }}<br />(more inside)<br /><br />
|
|
{{ else }}
|
|
{{ .Content }}
|
|
{{ 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 }}
|
|
</ul>
|
|
{{ partial "pagination.html" $ }}
|
|
</article>
|
|
{{ end }}
|