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)