Skip to content

Releases: kaiiiz/hugo-theme-monochrome

v4.0.0

27 Nov 14:11
Compare
Choose a tag to compare

v3.1.0

26 May 08:15
Compare
Choose a tag to compare
  • Fixed
    • Remove line number of code block from the site search data
  • New
    • Support anchor link next to header elements (#18)

v3.0.0

25 May 19:06
Compare
Choose a tag to compare
  • Fixed
    • Base layout organaization for semantic elements, which may improve SEO description
    • Fix table class parsing bug
    • Fix Balloon layout and Gallery layout page resources retrieval bug (#50)
    • Fix language dropdown menu click issue on Safari mobile (#43)
    • Fix i18n on navbar entries (#49)
  • 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
  • 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

23 Jul 15:25
Compare
Choose a tag to compare
  • Fixed
    • Fix navbar item padding (#15)
    • Fix TOC collapse cursor style (#25, #36)
    • Fix site search resource retrieval bug (#29)
    • Fix wrong variable in base.scss (#44)
    • Fix inappropriate navbar decoration for item that links to home page
    • Fix color scheme button FOUC bug
    • Fix twitter card text color in dark mode
  • 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
  • New
    • Support custom CSS (#23, #33)
    • Support GA4 (#37)
    • Support custom title for bookcase item (#32)
    • Support hiding bookcase items (#27)
    • Add default color scheme setting (#40)
    • Add bookcase shortcode (#34)
    • Add recent-posts shortcode
    • Add an RSS button next to the title in the term's layout

v1.0.1

02 Apr 08:00
Compare
Choose a tag to compare

Fixed

  • Fix img style issue, it should be max-width instead of width (#10)

v1.0.0 - First Major Release

01 Apr 09:33
Compare
Choose a tag to compare

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
  • 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 index
    • pagination: 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 to icon

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

25 Feb 15:47
Compare
Choose a tag to compare
  • Fix: reimplement terms-cloud to prevent size overflow (max size: 1.6 rem)

v0.9.1

25 Feb 15:06
Compare
Choose a tag to compare
  • Change: terms-cloud max font size to 1.4 rem
  • Fix: site search url from absLangURL to relLangURL

v0.9.0

31 Jan 15:34
Compare
Choose a tag to compare
  • 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
  • Change: font-size of html is changed from 18px to 16px
  • Add: breadcrumbs shortcode
  • Add: list layout properties group_by_year and show_date
  • Fix: terms-cloud typo (#4)

v0.8.0

29 Jul 09:17
Compare
Choose a tag to compare
  • Improve: flexsearch multilingual search capability
  • Improve: widen the control range of navbar menu items
  • Change: flexsearch can now search index pages
  • Change: the post content in RSS is changed from summary to full text
  • Add: collapsible TOC and Changelogs