This is pretty large breaking release in theme, partially discussed in #748
Breaking changes
- Theme now requires Hugo version
0.146.0
that has updated templating system and many templates have been moved around. If you do not have custom template overrides you should not be affected. BookCommitPath
andBookEditPath
are not templates and need to be updated.- Release branch have been moved from
master
tomain
Notable new features
- Support for automated previous and next pages in documentation.
- Support for
.Site.Copyright
. - New shortcodes
image
,card
,badge
,asciinema
. - Image shortcode allows to zoom in on image with pure CSS!
- Improved whitespace handling in shortcodes, so they work nicely when nested.
- Updated portable links and images with better support for page and site resources.
- Icons support in menus, bring your own icons in
assets/icons
folder, limited tosvg
for now. - A landing page layout!
- Codeblocks support for
mermaid
andkatex
. - Custom font have been removed from the theme, relying on
system-ui
from now on. - Thumbnail support and redesign of blog pages.
- Support for Github style hint / notices in markdown
Contributions
- Add BookFavicon param to readme by @mrled in #726
- Feature: Add next and previous page links by @alex-shpak in #747
- Create sw.yaml by @mtemakuni320 in #732
- Added support for ```mermaid by @CharlesPhilippeLabbe in #729
- use fonts from static/fonts instead of google fonts by @jrpie in #724
- toc-show.html: enforce default value true for .Site.Params.BookToc by @dilyanpalauzov in #755
- i18n: Add Bulgarian translation by @dilyanpalauzov in #754
Full Changelog: v11.0.0...v12.0.0