Skip to content

Releases: CaiJimmy/hugo-theme-stack

v2.4.0 📃

21 Jun 17:07
Compare
Choose a tag to compare

image

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

🐛 Bug Fixes

♻️ Refactor

v2.3.0

27 Mar 22:43
Compare
Choose a tag to compare

Changes

🚀 Features

🐛 Bug Fixes

  • fix: incorrect image & menu path for site hosted in subdir @CaiJimmy (#168)
  • fix(article): also define the padding for div under .article-content @yihui (#162)

♻️ Refactor

v2.2.0

13 Feb 15:31
Compare
Choose a tag to compare

Changes

🚀 Features

🐛 Bug Fixes

v2.1.0

12 Feb 14:03
Compare
Choose a tag to compare

Changes

🚀 Features

🐛 Bug Fixes

♻️ Refactor

  • refactor(archives): remove archive.categories i18n item @CaiJimmy (#108)

v2.0.1

26 Dec 08:18
Compare
Choose a tag to compare

🚀 Features

🐛 Bug Fixes

  • fix(search): wrong permalink to page @CaiJimmy (#93)
  • fix(article): twitter_simple shortcode text color @CaiJimmy (#90)
  • fix: dark mode toggle inconsistent positioning @CaiJimmy (#89)
  • fix(list): add missing object-fit property to compact list @CaiJimmy (#87)

♻️ Refactor

  • refactor(article): improve category tag style @CaiJimmy (#94)

v2.0.0 ✨

23 Dec 22:30
Compare
Choose a tag to compare

Cover

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 to param.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:

ko-fi

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

  • 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

07 Nov 23:32
Compare
Choose a tag to compare

🚀 Features

🐛 Bug Fixes

  • fix(article): related contents is showing hidden post @crateout (#46)
  • fix(exampleSite): remove Instagram shortcode (d6b0f10)

♻️ Refactor

  • refactor: use relative link for hyperlinks @CaiJimmy (#44)
  • refactor: add .section-title @CaiJimmy (#36)
  • refactor(search): include icon using helper/icon (26fedae)

v1.0.5

10 Oct 07:58
Compare
Choose a tag to compare

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

23 Sep 22:06
Compare
Choose a tag to compare

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 true
  • params.rssFullContent: output page full content in RSS

v1.0.3

20 Sep 11:04
Compare
Choose a tag to compare

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