Release v0.046
A few new features and a bunch of bugfixes in this release.
Page objects now have a generic "data" attribute. This allows adding miscellaneous extra information to the Page, which is then available to the template.
Using this, the Perldoc app now has a crumbtrail and a link to the module source, and the blog app can now have introductory text for the tags that show up on the tag page.
There were some changes to the default theme to make extending it a bit easier.
- The navbar has a default background color, so putting a background color on body is less surprising.
- The grid columns are centered in their margin, so adding a background color to the columns looks better.
Finally, a document is now allowed to override its template and layout. The document page uses the document template to override the template provided by the app.
Because of this, we can now allow extra pages in blog posts. Just put the extra page inside the blog post's directory.
Full changelog below...
- add module crumbtrail to perldoc app
- add link to module source in perldoc app (#282)
- fix link check showing schema-less urls as broken (#310)
- allow additional markdown pages in blog posts (#308)
- use document templates to override page templates (#40)
- add template and layout fields to documents (#40)
- add tag_text property to blog app (#258, #257)
- remove ModuleBuild to prevent toolchain confusion
- add .bare class to remove bullets from lists
- add data attribute to pages (#271)
- add a default background color to navbar
- adjust grid spacing to center columns
- use file_path attribute when copying files in apps (#226)
- use raw bytes when opening file pages
- allow using file path when copying files (#226)
- ensure all directory URLs end with a / (#299)
- redirect to directory/ in daemon (#300)