Commit Graph
9 Commits
Author SHA1 Message Date
omicron 4351ea8e0d Refactor config reading code 2026-09-05 03:19:12 +02:00
omicron a0fa7d8fe2 Add Site.feed_url helper and use it in the template 2026-08-26 05:07:40 +02:00
omicron 58eebac637 Add Site reference to Output, clean up template url handling
The following changes have been made all with template cleanup in mind:
- Make Output.url relative to the origin root
- Keep weakref to Site in all Output objects.
- Add several helpers to get urls from Site: home_url(), tag_url(tag),
  section_url(section) and tags_url().
- Add helpers to Index to get pagination urls: pagination_url(n)
- Clean up templates by making use of these new facilities
2026-08-14 16:45:16 +02:00
omicron 20dd6d9910 Split uri into url and destination, remove trailing slashes from links 2026-08-13 22:59:13 +02:00
omicron f1451a17b4 Create Index(Output) class and migrate index generation from Site
Like previous Content refactor, this allows validating file collisions
in the discover/write build pipeline.
2026-08-12 21:57:57 +02:00
omicron 881e4f1598 Add breadcrumb navigation 2026-08-07 04:05:49 +02:00
omicron f21e746858 Add tag index rendering 2026-08-07 02:08:54 +02:00
omicron 4bdf1b4f4e Add canonical tags to the plain template 2026-08-06 23:14:42 +02:00
omicron bfa4f8c2fa Add rendering of indices for the entire site and each section 2026-08-06 00:25:07 +02:00