github alex-shpak/hugo-book v12.0.0
v12

15 hours ago

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 and BookEditPath are not templates and need to be updated.
  • Release branch have been moved from master to main

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 to svg for now.
  • A landing page layout!
  • Codeblocks support for mermaid and katex.
  • 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

Full Changelog: v11.0.0...v12.0.0

Don't miss a new hugo-book release

NewReleases is sending notifications on new releases.