13 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			13 KiB
		
	
	
	
	
	
	
	
Changelog
0.6.0 (unreleased)
Breaking
- earlier/laterand- lighter/heavierare not set anymore on pages when rendering a section
- The table of content for a page/section is now only available as the tocvariable when rendering it and not anymore on thepage/sectionvariable
- Default directory for load_datais now the root of the site instead of thecontentdirectory
- Change variable sent to the sitemap template, see documentation for details
Other
- Add support for content in multiple languages
- Lower latency on serve before rebuilding from 2 to 1 second
- Allow processing PNG and produced images are less blurry
- Add an id (zola-continue-reading) to the paragraph generated after a summary
- Add Dracula syntax highlighting theme
- Fix using inline styles in headers
- Fix sections with render=false being shown in sitemap
- Sitemap is now split when there are more than 30 000 links in it
- Add link to sitemap in robots.txt
- Markdown rendering is now fully CommonMark compliant
- load_datanow defaults to loading file as plain text, unless- formatis passed or the extension matches csv/toml/json
- Sitemap entries get an additional extrafield for pages only
- Add a base-pathcommand line option tobuildandserve
0.5.1 (2018-12-14)
- Fix deleting markdown file in zola serve
- Fix pagination for taxonomies being broken and add missing documentation for it
- Add missing pager pages from the sitemap
- Allow and parse full RFC339 datetimes in filenames
- Live reload is now enabled for the 404 page on serve
0.5.0 (2018-11-17)
Breaking
- Gutenberg has changed name to zola!
- The pagersvariable of Paginator objects has been removed
- section.subsectionsis now an array of paths to be used with the- get_sectionTera function
- Table of content now strips HTML from the titles to avoid various issues
- gutenberg-anchorCSS class has been renamed- zola-anchor
- datais 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 markdownfilter
- get_urlnow defaults to not adding a trailing slash
- Fix --base-urlnot 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_imagesfolder for image processing has been renamed- processed_imagesto avoid issues with GitHub Pages
- Syntax highlighting default was mistakenly true, it has been set tofalse
- Add NO_COLOR and CLICOLOR support for having colours or not in CLI output
- Fix robots.txttemplate not being used
- RSS feed now takes all available articles by default instead of limiting to 10000
- templatesdirectory is now optional
- Add Reason and F# syntax highlighting
- Add ancestorsto pages and sections pointing to the relative path of all ancestor sections up to the index to be used with theget_sectionTera function
- Add a load_dataTera function to load local CSV/TOML/JSON files
- Add relative_pathto pages and sections in templates
- Do not have a trailing slash for the RSS permalinks
- servewill 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-onlyflag to theservecommand for when you don't want a webserver
- Add transparentsections, for when you want to separate content by sections but want to group them at a higher level (think apostsfolder with years that want to use pagination on the index).
- Add page_templateto 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
0.4.2 (2018-09-03)
- Add assets to section indexes
- Allow users to add custom highlighting syntaxes
- Add Swift, MiniZinc syntaxes and update others
- Handle post summaries better: no more cutting references
0.4.1 (2018-08-06)
- Fix live reload of a section content change getting no pages data
- Fix critical bug in servein some OSes
- Update deps, should now build and work correctly on BSDs
0.4.0 (2018-08-04)
Breaking
- Taxonomies have been rewritten from scratch to allow custom ones with RSS and pagination
- ordersorting has been removed in favour of only having- weight
- page.next/page.previoushave been renamed to- page.later/page.earlierand- page.heavier/page.lighterdepending on the sort method
Others
- Fix servenot working with the config flag
- Websocket port on livewill not get the first available port instead of a fixed one
- Rewrite markdown rendering to fix all known issues with shortcodes
- Add array arguments to shortcodes and allow single-quote/backtick strings
- Co-located assets are now permalinks
- Words are now counted using unicode rather than whitespaces
- Aliases can now be pointing directly to specific HTML files
- Add year,monthanddayvariables to pages with a date
- Fix panic when live reloading a change on a file without extensions
- Add image resizing support
- Add a 404 template
- Enable preserve-order feature of Tera
- Add an external link checker
- Add get_taxonomyglobal function to return the full taxonomy
0.3.4 (2018-06-22)
- cargo updateas some dependencies didn't compile with current Rust version
- Add CMake syntax highlighting and update other syntax highlighting
0.3.3 (2018-03-29)
- Fixed config flag in CLI
- Sitemap entries are now sorted by permalinks to avoid random ordering
- Preserve directory structure from sass folder when copying compiled css files to the public directory
- Do not require themes to have a static folder
- Now supports indented Sass syntax
- Add search index building
- Update Tera: now has breakandcontinuein loops
- Gutenberg now creates an anchor link at the position of the <!-- more -->tag if you want to link directly to it
- Fix many shortcode parsing issues
- Correctly copy themes shortcodes so they are useable in content
- Fix internal links not working for markdown files directly in contentdirectory
0.3.2 (2018-03-05)
- Fix servecommand trying to read all files as markdown
- Add many syntax highlighting themes
- Fix date being serialised incorrectly in page extrasection of front-matter
0.3.1 (2018-02-15)
- Update Tera and other dependencies
- Add option for inline (ie no <p>...</p>wrapping) in markdown filter
- Allow to specify both interface and base_url in gutenberg servefor usage in Docker
0.3.0 (2018-01-25)
Breaking
- Change names of individual taxonomies to be plural (ie tags/my-taginstead oftag/my-tag)
- Front matter now uses TOML dates rather strings: remove quotes from your date value to fix it.
For example: date = "2001-10-10"becomesdate = 2001-10-10
- language_codehas been renamed- default_languagein preparations of i18n support
Others
- Add get_taxonomy_urlto retrieve the permalink of a tag/category
- Fix bug when generating permalinks for taxonomies
- Update to Tera 0.11
- Better UX on first servethanks to some default templates.
- Add output-dirtobuildandserveto generate the site in a folder other thanpublic
- Add Prolog syntax highlighting and update all current syntaxes
- Live reloading now works on shortcode template changes
- gutenberg servenow reloads site on- config.tomlchanges: you will need to F5 to see any changes though
- Add a transglobal function that will get return the translation of the given key for the given lang, defaulting toconfig.default_languageif not given
- gutenberg servecleans after itself and deletes the output directory on CTRL+C
0.2.2 (2017-11-01)
- Fix shortcodes without arguments being ignored
- Fix shortcodes with markdown chars (_, *, etc) in name and args being ignored
- Fix subsections of index not being filled without a _index.md
- Fix generated index section not found in get_sectionglobal function
- Fix permalink generation for index page
- Add Nim syntax highlighting
- Allow static folder to be missing
- Fix shortcodes args being only passed as strings
- Add page.componentsandsection.componentsthat are equivalent topath.split('/')
- Expose page.draftin the template
0.2.1 (2017-10-17)
- Fix base-urlargument togutenberg buildbeing calledbase
- Add syntaxes: Crystal, Elixir, Kotlin
0.2.0 (2017-10-05)
- Fix section.subsectionsnot being filled correctly
- section.subsectionscan now be sorted by a- weightattribute on a section front-matter
- Do nothing on directory adding/removal in livereload
- Add back drafton pages that was wrongly removed
- Page and Section pathfield is not starting with a/anymore
- All Tera global fns are now rebuilt on changes
- Use flags for port/interface in gutenberg serve
- Fix various issues with headers markdown rendering
- Rename insert_anchorin section front-matter toinsert_anchor_links
- Remove insert_anchor_linksfrom the config: it wasn't used
- Add classvariable togistshortcode
- Add reading analytics to sections content
- Add config to sitemap template
- Add permalinkto all taxonomy items (tags & categories)
- Tags in the tags page are now sorting alphabetically instead of by number of pages in them
- Remove deprecated linkparam ofget_url
- Add 1337 color scheme
- Defaults to compressed Sass output
- Fix regression wrt co-located assets slug detecting
- Rename urlfrom page front-matter topathto be consistent
- Add a base-urlflag to thebuildcommand to override the URL from config.toml
0.1.3 (2017-08-31)
- Add themes support
0.1.2 (2017-08-10)
- Add redirect_toto section front matter to redirect when landing on section root page
- Make titlein config optional
- Improved gutenberg initUX and users first experience
- Make get_urlwork for any path with optional cachebusting.
- Deprecates linkparam ofget_urlin favour ofpathto be consistent
0.1.1 (2017-07-16)
- Fix RSS feed not behaving (https://github.com/Keats/gutenberg/issues/101)
0.1.0 (2017-07-14)
- Parallelize all the things
- Add weight sorting
- Remove sectionfrom thepagerendering context: this is too expensive. Use the global functionget_sectionif you need to get it
- Put back a 20 page limit on rss feed by default (configurable)
- Remove index page getting all sections: use the get_sectionglobal fn instead to only get the ones you need
- Remove pages from pagers in pagination: they were not supposed to be there
- Add built-in Sass compilation support
0.0.7 (2017-06-19)
- Sort individual tag/category pages by date
- Add extra builtin shortcode for Streamable videos
- pathand- permalinknow end with a- /
- Generate table of contents for each page
- Add sectionto a page Tera context if there is one
- Add aliasesto pages for when you are changing urls but want to redirect to the new one
- Name the homepage section index(previously empty string)
0.0.6 (2017-05-24)
- Fix missing serialized data for sections
- Change the single item template context for categories/tags
- Add a get_urland aget_sectionglobal Tera function
- Add a config option to control how many articles to show in RSS feed
- Move insert_anchor_linksfrom config to being a section option and it can now be insert left or right
0.0.5 (2017-05-15)
- Fix XML templates overriding and reloading
- titleand- descriptionare now optional in the front matter
- Add GenericConfig, Vim, Jinja2 syntax
- Add _index.mdfor homepage as well and make that into a normal section
- Allow sorting by none,dateandorderfor sections
- Add pagination
- Add a get_pageglobal function to tera
- Revamp index page, no more pagesvariables
- Fix livereload stopping randomly
- Smarter re-rendering in servecommand
0.0.4 (2017-04-23)
- Fix RSS feed link and description
- Renamed Page::urlandSection::urltoPage::pathandSection::path
- Pass current_urlandcurrent_pathto every template
- Add id to headers to allow anchor linking
- Make relative link work with anchors
- Add option to render an anchor link automatically next to headers
- Only copy the static files that changed, not the whole directory in gutenberg serve
- Use summary if available in RSS feed
- Add tables and footnotes support in markdown
- Add more language syntaxes
- Only load templates ending by .html
0.0.3 (2017-04-05)
- Add some colours in console
- Allow using a file other than config.toml for config
- Add sections to the index page context
- Fix page rendering not working when containing +++
- Add shortcodes (see README for details)
- Allow relative links to other content in markdown links
- Add markdown,base64_encodeandbase64_decodefilters to the Tera instance of Gutenberg
- Work on Windows!