mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-06-25 04:59:11 +00:00
Adds Posts::TagIndex (counts, per-tag posts, per-tag/year breakdown) and Posts::TagReport, wired into a new `bake tags` task that prints a frequency table plus a tag-by-year sparkline straight to the terminal. Also generates /tags/ and /tags/<tag>/ HTML pages via the existing Posts plugin, listing tags with post counts and per-tag post listings. Not linked from nav yet -- reachable by URL only until tags are curated enough to surface properly. Extracted PostListItemView out of YearPostsView so the post-link rendering (incl. link posts) is shared with the new tag pages instead of duplicated. |
||
|---|---|---|
| .. | ||
| config | ||
| drafts | ||
| posts | ||
| projects | ||
| utils | ||
| views | ||
| coverage_test.rb | ||
| drafts_test.rb | ||
| git_test.rb | ||
| link_post_test.rb | ||
| plugin_test.rb | ||
| publish_test.rb | ||
| site_generator_rendering_test.rb | ||
| site_generator_test.rb | ||
| site_test.rb | ||
| test_helper.rb | ||