gutenberg v0.5.0 Release Notes

Release Date: 2018-11-17 // over 5 years ago
  • ๐Ÿ’ฅ Breaking

    • Gutenberg has changed name to zola!
    • ๐Ÿšš The pagers variable of Paginator objects has been removed
    • section.subsections is now an array of paths to be used with the get_section Tera function
    • Table of content now strips HTML from the titles to avoid various issues
    • gutenberg-anchor CSS class has been renamed zola-anchor
    • data is now a reserved variable name in templates, it is unused right now but might change soon.

    Others

    • Many many times faster (x5-x40) for most sites
    • โšก๏ธ Update dependencies, fixing a few bugs with templates
    • Load only .html files in themes from the templates folder
    • Background colour is set fewer times when highlighting syntaxes, resulting in smaller HTML filesize
    • ๐Ÿ”— Link checker will not try to validate email links anymore
    • Load table and footnote markdown extensions in markdown filter
    • 0๏ธโƒฃ get_url now defaults to not adding a trailing slash
    • ๐Ÿ›  Fix --base-url not overriding processed images URLs
    • โž• Add more Emacs temp file to the ignored patterns in gutenberg serve
    • Files starting with . are not considered pages anymore even if they end with .md
    • ๐Ÿ–จ _processed_images folder for image processing has been renamed processed_images to avoid issues with GitHub Pages
    • 0๏ธโƒฃ Syntax highlighting default was mistakenly true, it has been set to false
    • โž• Add NO_COLOR and CLICOLOR support for having colours or not in CLI output
    • ๐Ÿ›  Fix robots.txttemplate not being used
    • 0๏ธโƒฃ RSS feed now takes all available articles by default instead of limiting to 10000
    • templates directory is now optional
    • โž• Add Reason and F# syntax highlighting
    • โž• Add ancestors to pages and sections pointing to the relative path of all ancestor sections up to the index to be used with the get_section Tera function
    • โž• Add a load_data Tera function to load local CSV/TOML/JSON files
    • โž• Add relative_path to pages and sections in templates
    • Do not have a trailing slash for the RSS permalinks
    • serve will now try to find other ports than 1111 rather than panicking
    • Ensure content directory exists before rendering aliases
    • Do not include drafts in pagination
    • Pages filenames starting by a date will now use that date as page date if there isn't one defined in frontmatter
    • Accept markdown files starting with BOM
    • โž• Add a watch-only flag to the serve command for when you don't want a webserver
    • โž• Add transparent sections, for when you want to separate content by sections but want to group them at a higher level (think a posts folder with years that want to use pagination on the index).
    • โž• Add page_template to section front-matter for when you want to specify the template to use for every page under it
    • ๐Ÿ‘Œ Improves to zola serve: now handles directories renaming