Releases: kaiiiz/hugo-theme-monochrome
Releases · kaiiiz/hugo-theme-monochrome
v4.0.0
- Fixed
- Changed
- BREAKING CHANGE The minimum hugo version requirement is now
0.128.0
. Adjust your config'spaginate
topagination.pagerSize
accordingly (#58, #59, #60)
- BREAKING CHANGE The minimum hugo version requirement is now
- New
v3.1.0
v3.0.0
- Fixed
- Changed
- BREAKING CHANGE The minimum hugo version requirement is now
0.120.0
. Adjust your GoogleAnalytics and DisqusShortname settings accordingly - Re-implement the site search function with uFuzzy, which, in my opinion, delivers significantly more accurate search results
- Change sidebar control to pure CSS implementation (#47)
- Remove collapsible menu for mobile sidebar, as it is difficult to click on small screen
- Hide language name on mobile view
- Dependencies
- Fuse.js: removed
- uFuzzy: v1.0.14
- Mathjax: v3 -> v4.0.0-beta.6 (for better line breaking support)
- Styles
- Add border radius to image
- Adjust article components margin
- Adjust bookcase item overlay shadow style for dark mode
- Gallery image alignment
- Background filling for the line number of code block
- Adjust code block color
- BREAKING CHANGE The minimum hugo version requirement is now
- New
- Support simple icons v11.15.0
- Support
user_head.html
to inject custom template in<head>
section (e.g. Google Ads etc.)
v2.0.0
- Fixed
- Changed
- BREAKING CHANGE The minimum hugo version requirement is now
0.112.0
- BREAKING CHANGE Support all feather icons,
vendor="feather"
is required to migrate from old shortcode (#19) - Images in an article are centered by default (#35)
- Term's layout now respects the
enable_group_by_year
,enable_show_date
,enable_pagination
parameters - Upgrade dependencies
- Prism: v1.27.0 -> v1.29.0
- Fuse.js: v6.5.3 -> v6.6.2
- BREAKING CHANGE The minimum hugo version requirement is now
- New
v1.0.1
v1.0.0 - First Major Release
Added
- Layout
- New Layout: Postcard Layout, Blank Layout
- Support pagination for Postcard Layout and List Layout
- Enhance list layout date format. If current list layout is grouped by year, hide list item's year.
- Redesign default home page layout using Postcard Layout
- Add sidebar for better navbar responsiveness on small screen
- New Shortcode
emgithub
: directly embed github source code like gist with Prism.js syntax highlighting
- External Library
- Optimize Prism.js integration
- Add smooth transition to prevent line number jittering while page rendering
- Integrate Prism.js autoloader to prevent huge bundle file
- Optimize Zooming.js integration
- Background color is now dynamically changed based on current theme
- Fuse.js integration
- Support highlight matched text in search menu
- Optimize Prism.js integration
- New Theme Parameters
list_layout.enable_group_by_year
list_layout.enable_show_date
list_layout.enable_pagination
syntax_highlight.lib
syntax_highlight.builtin.enable_code_copy
syntax_highlight.prism.enable_code_copy
syntax_highlight.prism.enable_line_no
- New Page Parameters
search_hidden
: hide page from search indexpagination
: control pagination for List Layout
Changed
- Change RSS content from full post to summary for smaller resource purpose
- Change all icons to feathericons
- Site search engine has been changed from flexsearch to fuse.js for better CJK language supports
- Parameter name has all been changed to snake_case for consistency
- Syntax highlight settings are now grouped by
syntax_highlight
svg-wrapper
shortcode has been changed toicon
Removed
- All javascript package dependencies are removed, Monochrome is now self-contained without the help of npm and become extremely easy to setup and modify.
- Remove
list_posts
property from list layout, this functionality has been replaced by Blank Layout
v0.9.2
v0.9.1
v0.9.0
- Improve: search implementation
- hide the mismatch objects instead of removing it while searching
- widen the control range of search result
- Improve: gallery layout's key and value now support markdown syntax
- Improve: Zooming.js configuration
- speed up animations
- setup transparent background
- Change: for consistency, the names of the following parameters are changed:
- page's
collapsibleTOC
=>collapsible_toc
- page's
collapsibleChangelogs
=>collapsible_changelogs
- page's
- Change: font-size of html is changed from
18px
to16px
- Add:
breadcrumbs
shortcode - Add: list layout properties
group_by_year
andshow_date
- Fix: terms-cloud typo (#4)