This release adds new features Chromeless type and layout, Shortcodes summary and page-resource. Updates Alpine JS to latest version, and improves link colors for better accessibility.
What's New
- Add "chromeless"
typeandlayout. Display a Page without any "chrome", i.e., header or footer, only the.Contentdata. This is useful for creating printable PDFs of a Page for download, or unwrapping a Page toiframeon another website (a60c34e)
Frontmatter example (toml):
+++
type = "chromeless"
# Optional custom chromeless layout, otherwise `layouts/page/single.html` is used:
# layout = "custom-layout"
+++
- Add new Shortcode
summary. Place a "summary" of a piece of Content anywhere, i.e., place a summary block of a Page you want to highlight on the Homepage. Normally, this type of summary is just for a list like Recent Posts, but this Shortcode brings it to a single piece of Content (52e4684)
{{% summary "pages/company-event" %}}
- Add new Shortcode
page-resource. Include Page type resources from a Leaf Page Bundle and display them in Content. Similar to aheadless-resource, but for Content specific to just the Page. A Page Leaf Bundle with a Page resourcedata-table.mdcould be put inline: (8e0a04d)
{{% page-resource "data-table" %}}
# Or, if it's an .html file, using the other Shortcode escapes < and >:
{{< page-resource "data-table" >}}
Updates
- Update Alpine JS version (
917a5d9) - Change link colors for better accessibility (
aed36d7) - Shortcode
blocks/section: Remove margin-top default, add more customization options (eadcc3a) - Add
flex-1class to whitelist. Make this Tailwind style available to users by default (66358a7)
Fixes
