Releases: alex-shpak/hugo-book
Releases · alex-shpak/hugo-book
v9
Notable changes
- Collapsed menus can be navigated without changing page!
- Most SCSS vars were migration to CSS vars.
- MermaidJS configuration can be customized.
- Lead image can be now added to posts via
image:
frontmatter. - New partials: before and after toc.
New translations
Other changes and fixes
- Post title rendering is now using proper partial.
- Collapsible menus are now changing arrow on toggle (#332).
- Link to SCM is now pointing to
main
branch by default. - Edit link can be more customized.
- Bug Fix: Empty .Site.Params.contentDir (#312)
- Button shortcode can now render markdown (#308)
- Set default content direction to
ltr
(#307) - New 'BookOnlyTranslated' property to display only links to translated pages (#303)
- MermaidJS upgraded to v8.9.0 (#305)
- New page param: bookSearchExclude to exclude pages from search index
Big thank you to all contributors!
v8
- Minimum required version of Hugo is
0.68
. - Translations
- New features
- Added RTL support.
- Added anchors to markdown headings.
- Introduced service-worker and offline cache (as experimental feature).
- New partial:
docs/date
adding support for date customization. - Added
details
shortcode as replacement forexpand
shortcode.
- Other changes and improvements
- Improved accessibility and keyboard navigation.
- MermaidJS updated to version
8.4.8
. - Page title generation is now cross-platform.
- Added
hreflang
metadata is to pages. - Language switch now uses
.Permalink
for multi-domain websites. - Visited links are highlighted only in markdown.
- New
404.html
page design. - Multiple fixes in
numbered.scss
plugin.
v7
New release! 🎉
- Minimum required version of Hugo is
0.65
. - Docs template is now default for all pages. #157
- Support for portable links! Without
{{< relref >}}
shortcode! - More translations
- Default text color is black now, for better accessibility.
- Better language switch (keyboard access).
- Button shortcode redesign.
- Added page counters for tags (and other taxonomy)
- Added hugo native menus support https://gohugo.io/content-management/menus/
- New
content-before
andcontent-after
inject partials, #150 - Whitespace fixes in
tabs
andcolumns
shortcodes - Tap on body will now close side menu in mobile view #154
- Added expand indicator in collapsed section, #155
inject/footer
partial has been moved under footer tag, #161404.html
now has link to site home #178- Improved description generation #177, #176
- Fixed taxonomy link with spaces or non-urlizeable characters #140
v6
There are potential breaking changes!
- Required hugo version is
0.60
. - Added support for white icons in dark mode.
- ToC levels are now controlled by hugo:
markup.tableOfContents
andBookToC
is a boolean now. - Introduced comments support (#120)
- There are changes in partials and templates, there are new
header
,footer
,menu
,comments
templates that can be overwritten. - There is now support for taxonomies (tags, categories, etc) (#66).
- ToC is now displayed on mobile devices as well (#121).
- New translations (help needed!).
- Search can be focused with
s
or/
keys (#135). - There is new option to disable menu scroll reset (#90).
- Fix: KaTeX shortcode got display/inline modes to embed into markdown (#117).
- Fix: Printing in Firefox (#127) https://bugzilla.mozilla.org/show_bug.cgi?id=939897.
- Fix: dates is not showed in posts if not specified (#113).
- Fix: edit page URLs on Windows (#116).
- Fix: disabling JavaScript regression (#90).
Big thank to all contributors!
v5
v4
There is big list of changes and presumably breaking changes as well.
- Fixes in search object serialization and index creation.
- Fix in file-tree menu rendering. Breaking change. #70
- Site logo feature. #71
- New
katex
shortcode. KaTeX. - New
hint
shortcode - Table of content is now enabled for posts as well.
- Improved SCSS file layout allowing easier vars/styles overrides
- SCSS plugins: dark theme and numbered markdown headings.
- Search is migrated to
flexsearch
adding multi-language support. - Also many small fixes and html and css.
- Updates to documentation
v3
v2
- Font changed from
Oxygen
toRoboto
. - Fonts are now shipped with theme to allow offline use.
- All CSS/SASS is now merged to single minified file.
- Improved accessibility and mobile screen support.
- Introduced shortcodes:
- Columns
- Mermaid chart
- Tabs
- Buttons
- Expandable panel
- Table of contents now have settings no limit rendered levels
- Fixed padding for headers and blocks in markdown
v1
First "Ready to use" release 🎉
Versioning
There will be simple incremental releases, (e.g: v1
, v2
, v3
) accumulating changes during development.