hugo-theme-stack

Card-style Hugo theme designed for bloggers

GPL-3.0 License

Stars
4.9K

Bot releases are hidden (Show)

hugo-theme-stack - v2.1.0

Published by CaiJimmy over 3 years ago

Changes

  • ci: build Hugo artifact @CaiJimmy (#142)

🚀 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

  • refactor(archives): remove archive.categories i18n item @CaiJimmy (#108)
hugo-theme-stack - v2.0.1

Published by CaiJimmy almost 4 years ago

🚀 Features

  • feat(math): add inline math support @CaiJimmy (#88)

🐛 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)
hugo-theme-stack - v2.0.0 ✨

Published by CaiJimmy almost 4 years ago

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

  • ci: upgrade Hugo version to 0.79.0 @CaiJimmy (#56)

🚀 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)
hugo-theme-stack - v1.1.0

Published by CaiJimmy almost 4 years ago

🚀 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

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

Published by CaiJimmy about 4 years ago

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)

hugo-theme-stack - v1.0.4

Published by CaiJimmy about 4 years ago

Features

  • feat(rss): add RSS template (d55cc303d4faf52243ae7e535843cf4b9336020f)
    • 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 (9d76ab371fe419110cb705444191a22749182ba1)
  • feat(article): add KaTeX support (b14ca5d15b221e95af57b37d30f79905946b2a1c)
  • feat(scss): improve 2 column style (26acceb37da928addd5f8967ae18c59918f36940)

Refactors

  • refactor(scss): rename --content-padding to --card-padding (02f2badffca9069ef6b5a7f3ecf1fcff4cac1656)

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
hugo-theme-stack - v1.0.3

Published by CaiJimmy about 4 years ago

Features

  • feat(article): better syntax highlight style (adapted to light/dark mode) (96ff911c6e83140925420073b1abe16afa445567)
  • feat(footer): add rel="noopener" to footer links (8c4ad17a09a11d5dcee70842e7a38f2a2e0ec880)
  • feat: add partialCached for speed improvement (#10)
  • feat: add support for custom taxonomy link (#13)

Fixes

  • fix: use absLangURL for menu url (4267346a4ad5932dc39238469bb3b812922f32c1)
  • fix(article list): specify image width in srcset (1e28a661d9d848aee7e5bd126fa6f84a715f51c9)
  • fix(menu): use <ol> to wrap menu items (841508f491a8e1010efa1645312b721d67f55a3f)
  • fix: use .RelPermalink to include CSS (0bcfb160f1be37bd6d65786efe73052450384001)

Upgrade Guide

Add following section to config.toml:

[markup]
    [markup.highlight]
        noClasses = false
hugo-theme-stack - v1.0.2

Published by CaiJimmy about 4 years ago

  • refactor: use relLangURL to build relative links (2451b194dc022b9a2b6ad23c3ec819d3ddb7e1cb)
  • refactor: change default article layout (45e7e07a867a7497fd493161311ba838b96d1917)
  • feat: make archive template available for all sections (c600f872133f655a27244dadc056c2feb57de86d)
  • refactor: rename archive -> archives (7379bbe412fcc0d61a6980e787da66526d8ee17d)
  • feat: add avatar placeholder to assets/img (b06910fc5dbe148a8021048ea5ebcaf3feb85fa1)
  • feat: add support for non-extended version of Hugo (f26a9fa07035ac9b3aaacea10e5e24d0dc2496c2)

Upgrade Guide

Rename archive to archives, in config.toml and also Markdown files where Front Matter contains layout: archive.

hugo-theme-stack - v1.0.1

Published by CaiJimmy about 4 years ago

  • fix(helper/image): add support for relative linked image (f0b3617ec4eae79af296421b117ccef33f33450e)
hugo-theme-stack - v1.0.0: Initial Release

Published by CaiJimmy about 4 years ago

First stable version