Releases: CaiJimmy/hugo-theme-stack
v3.0.0
Breaking change
The support for Hugo's non-extended version has been dropped. Change your Hugo version to extended >= 0.87.0 after upgrading.
Changes
- chore: update
KaTeXto 0.13.13 @zhixuan666 (#275)
🚀 Features
- feat(article): copy button for highlight block @CaiJimmy (#295)
- feat(menu): support open an entry in new tab @CaiJimmy (#294)
- feat(article): add scrollbar to TOC @CaiJimmy (#293)
- feat(comment): add
Twikoosupport @zhixuan666 (#286) - feat(i18n): add translation for
.readingTimein Chinese & Japanese @zhixuan666 (#285) - feat(i18n): Italian translation @giacomocarrozzo (#281)
- feat(article): add video shortcode @zhixuan666 (#280)
- feat(i18n): Add Indonesian translation for
readingTime@FarrelF (#279) - feat(article): use
markdownifyfor licence in article @tesujimath (#273) - feat(article): reading time @uluumbch (#204)
- feat(sidebar): add option to disable avatar in left sidebar @manudinath (#268)
- feat(i18n): Improve Indonesian translation @FarrelF (#265)
- feat(i18n): add russian translation for
backand TOC @sot-tech (#262)
🐛 Bug Fixes
- feat(article): add scrollbar to TOC @CaiJimmy (#293)
- fix(article): unordered TOC style @CaiJimmy (#292)
- fix(comments): improve Twikoo style @zhixuan666 (#289)
- fix(comment/twikoo): submit button color @zhixuan666 (#288)
♻️ Refactor
v2.6.0
v2.5.0
Changes
- chore: add toggleEl type @WingLim (#256)
- doc(README): fix Chinese doc URL @zhixuan666 (#253)
🚀 Features
- feat(i18n): add Polish translation @MikDal002 (#257)
- feat(i18n): add Chinese translation of Table of Content @zhixuan666 (#235)
- feat(i18n): add Japanese translation of Table of Content @zhixuan666 (#237)
🐛 Bug Fixes
- fix(article): add
white-space: nowrapto back button text @zhixuan666 (#245)
v2.4.0 📃
The long-awaited table of content has been added to this theme. Currently, it's disabled by default. Add line toc: true to params.article in config.yaml to enable it.
The scrollbar style has been improved, adopting to dark theme automatically. Thanks to @moll-y
And the grid system has been rewritten to bring a better UI on laptops. Now the widgets should be visible on normal laptop screens.
Other noticeable changes:
- New comment system support: Waline and Vssue
- Support for Google Analytics V4
Thanks to @moll-y, @ciallowo, @zhixuan666, @mapleafgo, @miclnl, @mkaraki for their contribution to this version.
🚀 Features
- feat: Table of Contents @CaiJimmy (#232)
- feat: change the page vertical scrollbar styles @moll-y (#227)
- feat(comment): add Waline @ciallowo (#200)
- feat: change horizontal scrollbar styles @moll-y (#211)
- feat: Add support for Google Analytics v4 @zhixuan666 (#214)
- feat: add Vssue comment @mapleafgo (#197)
- feat(i18n): add Dutch @miclnl (#180)
🐛 Bug Fixes
- fix: set the scrollbar-track background to transparent @moll-y (#228)
- "サーチ" is not good translate @mkaraki (#212)
- fix(typo): change 'a ex.*' for 'an ex.*' @moll-y (#213)
- Fix(i18n): Dutch minor change @miclnl (#185)
♻️ Refactor
- refactor: rewrite grid system & style changes @CaiJimmy (#231)
- refactor(opengraph/twitter): add @ before username @zhixuan666 (#186)
v2.3.0
v2.2.0
v2.1.0
Changes
🚀 Features
- feat: add data/external.yaml @CaiJimmy (#140)
- feat: Google Analytics support @julian-alarcon (#135)
- feat(list): display subsections in list style when there are no normal pages @CaiJimmy (#121)
- feat(i18n): Improve Brazilian portuguese translation @cobalto (#112)
- feat(widget): detect automatically path to archives / search page @CaiJimmy (#109)
- feat(i18n): Add Russian translation @sot-tech (#101)
- feat(i18n): improve Japanese translation @zhixuan666 (#99)
- feat(shortcode): add bilibili shortcode @zoxoy (#97)
- feat(i18n): add Turkish language file @iozcelik (#96)
🐛 Bug Fixes
- fix(article): code background @CaiJimmy (#139)
- fix: remove word-wrap property for Safari @zzulu (#131)
- assets: fix font-family fallback @akiirui (#130)
- fix(utterances): set color scheme on load @CaiJimmy (#138)
- fix(colorScheme): dispatch onColorSchemeChange at page load @CaiJimmy (#118)
- fix(i18n/ru): fix typo in 'notFound' @sot-tech (#114)
- fix: make Disqus / Utterances follow the global color scheme @CaiJimmy (#111)
- fix(search): add missing i18n text @CaiJimmy (#110)
♻️ Refactor
v2.0.1
v2.0.0 ✨
This update brings some useful features:
- Dark mode toggle
- Subsection support
- Custom footer text
Other noticeable changes:
- Starting from this version, the background of categories of each page won't be generated from its cover image. Instead, it's now possible to specify a color per category.
- External avatar is now supported
- Set favicon in the config file
- Option to disable image processing
- Gallery module is rewritten, to support navigation through all images of page
- Migration from TOML to YAML
- Now it's possible to overwrite scripts under
tsfolder
Required Hugo version is bumped to 0.78.0.
Thanks to @rizkiprastyo, @vlourme, @cobalto, @BasixKOR for their contribution to this version.
Migration guide
Change in params.avatar:
- Copy the old value of
params.sidebar.avatartoparam.sidebar.avatar.src - Set
params.sidebar.avatar.local: true
Adapt to dark scheme
Replace @media (prefers-color-scheme: dark) {} with [data-scheme="dark"] {}
Support this project
If you like this theme, give it a star and consider supporting its development:
Your support is greatly appreciated :)
Changes
🚀 Features
- feat: add option to disable image processing @CaiJimmy (#83)
- feat(darkmode): dark mode toggle @CaiJimmy (#82)
- feat(list): add subsection support @CaiJimmy (#81)
- refactor(article): remove color tag & add custom category color @CaiJimmy (#75)
- feat(footer): add copyright since & custom text @CaiJimmy (#74)
- feat(head): add favicon setting in config.yaml @CaiJimmy (#73)
- feat(i18n): add Indonesian translation @rizkiprastyo (#64)
- feat(sidebar): add support for external avatar @vlourme (#53)
- feat(i18n): Coverage improvements @cobalto (#59)
- feat(i18n): add Brazilian Portuguese translations @cobalto (#57)
- feat(i18n): add Korean translations @BasixKOR (#58)
- i18n: added french translations & footer translation @vlourme (#52)
🐛 Bug Fixes
- refactor(gallery): rewrite gallery @CaiJimmy (#79)
- fix(list): section title style @CaiJimmy (#76)
- sidebar: hide emoji placeholder when no emoji is specified @vlourme (#51)
♻️ Refactor
- refactor(article): remove color tag & add custom category color @CaiJimmy (#75)
- refactor(gallery): rewrite gallery @CaiJimmy (#79)
- refactor(ts): import script using new Hugo Module logic @CaiJimmy (#77)
- refactor(opengraph): add default value for twitter:card @CaiJimmy (#72)
- refactor(i18n): translation key renaming @CaiJimmy (#68)
- refactor(config): use YAML instead of TOML @CaiJimmy (#65)
v1.1.0
🚀 Features
- feat: local search @CaiJimmy (#19)
- feat: new archive widget style @CaiJimmy (#39)
- feat(i18n): add Japanese translation @ppyv (#35)
- feat: add support for custom SCSS (be41683)
🐛 Bug Fixes
- fix(article): related contents is showing hidden post @crateout (#46)
- fix(exampleSite): remove Instagram shortcode (d6b0f10)

