Nibble 0.7.0
What’s new
- A collection can be written as Markdown files. Name a folder inside
content/in the collection’s schema andbin/rails nibble:content:markdownmakes the collection match it: a file is a page, a folder’sindex.mdis the page its files sit under, frontmatter becomes fields, and a page whose file has gone is trashed. It is safe to run again, so a deploy can run it every time.- A link to another
.mdfile becomes a link to that page, resolved when the page renders, so it survives either page moving. An image beside the pages becomes an asset, filed where it was written and uploaded again only when it changes. - The folders are a navigation tree, ordered by
orderin the frontmatter — the sidebar a documentation site needs, without maintaining one by hand. - Those pages are read-only in the control panel, and each one says which file it is written in and what to run after changing it.
- A link to another
Changed
bin/nibble-releaseoffers the push rather than printing it, and offers to publish the feed in the repository it was written to.--pushanswers both without asking.