Releases: CaiJimmy/hugo-theme-stack
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
ts
folder
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.avatar
toparam.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)
♻️ Refactor
v1.0.5
After releasing this version, I realized I was naming incorrectly versions. This should be v1.1.0 as it contains backwards-compatible features.
Features
- feat(article list): article clickable and equal height (96897be)
- feat(article): style improvement (5a7c9b6)
- feat(widget/archives): padding adjustment (0e8083e)
- feat(gallery): load PhotoSwipe lib from JSDelivr (fa0f8fa)
- feat(comments): add utterances support (#24)
- feat(helper): add helper/icon (#33)
Fixes
- fix(widgets): add margin bottom for last widget (12578a5)
- fix(rss): remove featured image width height attr (bd8e03b)
- fix(config.toml): typo Licenced -> Licensed (#22) @ress997
- fix(article): last updated time broken in Hugo v0.76 (#28) @ress997
- fix: taxonomy with special char or spaces not displayed correctly (#29) @romainx
- fix: consistent style of taxonomy name (#34)
Changes to config.toml
[params.defaultImage.article]
and [params.defaultImage.articleList]
are removed from config.toml. These options still works, but their behaviour might change in the future. (d461267)
v1.0.4
Features
- feat(rss): add RSS template (d55cc30)
- fix: hidden post being shown in RSS output
- feat: add config to output full content in RSS
- fix: featured image not showing in RSS
- feat(archive widget): improve "more" link (9d76ab3)
- feat(article): add KaTeX support (b14ca5d)
- feat(scss): improve 2 column style (26acceb)
Refactors
- refactor(scss): rename --content-padding to --card-padding (02f2bad)
New config.toml
fields
params.article.math
: load KaTeX script in all pages if it's set to trueparams.rssFullContent
: output page full content in RSS
v1.0.3
Features
- feat(article): better syntax highlight style (adapted to light/dark mode) (96ff911)
- feat(footer): add
rel="noopener"
to footer links (8c4ad17) - feat: add partialCached for speed improvement (#10)
- feat: add support for custom taxonomy link (#13)
Fixes
- fix: use absLangURL for menu url (4267346)
- fix(article list): specify image width in srcset (1e28a66)
- fix(menu): use
<ol>
to wrap menu items (841508f) - fix: use .RelPermalink to include CSS (0bcfb16)
Upgrade Guide
Add following section to config.toml
:
[markup]
[markup.highlight]
noClasses = false