Files
kestrelsnest-blog/layouts/_default/single.html
Eric Wagoner 744235b47f Add LocallyGrown series part 6 and implement series navigation
- 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>
2025-09-29 01:12:22 -04:00

40 lines
1.1 KiB
HTML

{{ define "main" }}
<article class="post">
<header class="post-header">
<h1 class ="post-title">{{ .Title }}</h1>
{{- if ne .Type "page" }}
<div class="post-meta">
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "calendar") }}
{{ .PublishDate.Format "Jan 2, 2006" }}
</div>
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "clock") }}
{{ .ReadingTime }} min read
</div>
{{- with .Params.tags }}
<div>
{{ partial "icon.html" (dict "ctx" $ "name" "tag") }}
{{- range . -}}
{{ with $.Site.GetPage (printf "/%s/%s" "tags" . ) }}
<a class="tag" href="{{ .RelPermalink }}">{{ .Title }}</a>
{{- end }}
{{- end }}
</div>
{{- end }}
</div>
{{- end }}
</header>
<div class="post-content">
{{ .Content }}
</div>
{{/* Series navigation at the bottom of the post */}}
{{ partial "series.html" . }}
<div class="post-footer">
{{ template "_internal/disqus.html" . }}
</div>
</article>
{{ end }}