Skip to content

v5.1.0

Choose a tag to compare

@boykush boykush released this 18 Oct 15:06
2083bd0

Before upgrading a published site

No change is marked breaking, but #860 changes a deployed site's URLs and templates:

  • Lists move to one page per scope. The whole wiki is / and each tag's list is tags/<tag>/ (was tags/<tag>.html). /backlinks/, /all-scraps/, /types/<type>/… and numbered N.html pages are no longer generated, and no redirects are generated. Sort and type are now the ?sort= and ?type= query parameters on any list.
  • Custom templates in static/ named tag.html or scraps_index.html are no longer used. An overridden index.html or base.html sees scraps.rows / scraps.groups, nav_scopes, types, scope_tag and paginate_by in place of view, view_root, nav_tags and filter_types.
  • paginate_by now sets how many rows the updated and backlinks orders show before show more, instead of splitting a list into pages.

What's Changed

✨ Features

  • feat(build)!: list each scope once and let sort and type be query facets (#860)

    The sidebar lists the whole wiki and then every tag as a tree, nested tags indented under their parent. Above every list, sort (updated / backlinks / title) and type are facets that stay set when you switch to another tag, so a tag can be read narrowed to one type — Security × Book, say. Counts follow the chosen type, and a tag or type with nothing to show cannot be picked. Each list page carries all of its rows and a small inline script arranges them; without JavaScript a list shows every row in updated order.

🔧 Maintenance

  • chore: carry this repository's catalog entity in catalog-info.yaml (#861)
  • v5.1.0 (#862)

Full Changelog: v5.0.0...v5.1.0