Commit Graph

530 Commits

Author SHA1 Message Date
Jimmy Cai
64e06f0beb
Bump required Hugo version to 0.78.0 2020-12-23 19:17:17 +01:00
Jimmy Cai
358e63e799
feat(darkmode): dark mode toggle (#82)
* feat(darkmode): initial support for dark mode toggle

* fix(darkmode): add svg icons

* feat(darkmode): dispatch onColorSchemeChange event

* add head/darkmode

* feat(darkmode); add colorScheme config

* style: remove empty line

* refactor(darkmode): simplify code

* style: add comment for darkmode config

* i18n support for dark mode toggle

* Some renaming
2020-12-23 19:03:40 +01:00
Jimmy Cai
df74fe5f19
chore: change funding link to Ko-fi 2020-12-23 13:20:53 +01:00
Jimmy Cai
7d841cf237
feat(list): add subsection support (#81)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/48
2020-12-22 21:14:50 +01:00
Jimmy Cai
e606dca404
refactor(article): remove color tag & add custom category color (#75)
closes: https://github.com/CaiJimmy/hugo-theme-stack/issues/71
2020-12-22 19:43:14 +01:00
Jimmy Cai
31c42bcfe7
refactor(gallery): rewrite gallery (#79)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/70
2020-12-22 19:35:37 +01:00
Jimmy Cai
54571f036b
refactor(ts): import script using new Hugo Module logic (#77)
Allows user to overwrite a specific script.

Note: The required version of Hugo might bump up.
2020-12-21 22:34:54 +01:00
Jimmy Cai
33685fb878
fix(list): section title style (#76) 2020-12-21 17:26:58 +01:00
Jimmy Cai
680832920f
ci: add refactor section for release note 2020-12-20 13:01:56 +01:00
Jimmy Cai
cea1064927
feat(footer): add copyright since & custom text (#74)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/55
2020-12-20 12:34:44 +01:00
Jimmy Cai
ddd6aa2d20
feat(head): add favicon setting in config.yaml (#73)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/42
2020-12-20 11:38:49 +01:00
Jimmy Cai
25a72940b8
refactor(opengraph): add default value for twitter:card (#72) 2020-12-20 11:05:34 +01:00
Jimmy Cai
d205753323
refactor(i18n): translation key renaming (#68)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/63
2020-12-19 01:41:26 +01:00
Jimmy Cai
e9c1abac93
refactor(config): use YAML instead of TOML (#65)
* refactor(config): use YAML instead of TOML

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/62

* refactor(config.yaml): clear up

* style(config): formatting & add i18n comment
2020-12-15 10:59:52 +01:00
Rizki Prastyo
e1277f4e61
feat(i18n): add Indonesian translation (#64) 2020-12-11 17:18:08 +01:00
Victor Lourme
f919b8bd90
feat(sidebar): add support for external avatar (#53)
add [params.sidebar.avatar] section in config.toml, with 2 fields: local and src

Migration guide:
 - Copy the old value of `params.sidebar.avatar` to `param.sidebar.avatar.src`
 - Set params.sidebar.avatar.local = true

Co-authored-by: Jimmy Cai <jimmehcai@gmail.com>
2020-12-11 16:33:02 +01:00
Daniel Pessoa
bfeddf3217
feat(i18n): Coverage improvements (#59)
* Replace hardcoded text with i18n

* Add categoriesTitle text

* Add categoriesTitle text

* Add new strings available

Co-authored-by: Daniel Pessoa <cobalto@users.noreply.github.com>
2020-12-11 16:11:47 +01:00
Jimmy Cai
69b1524f91
Merge pull request #57 from cobalto/i18n/brazilian-portuguese
Add pt-BR.toml
2020-12-07 14:48:48 +01:00
Jimmy Cai
c6d752d420
Merge pull request #58 from BasixKOR/master
feat(i18n): add Korean translations
2020-12-07 14:44:13 +01:00
Basix
27c8350f1b Add Korean translations 2020-12-06 22:59:11 +09:00
Daniel Pessoa
108e017a32
Add pt-BR.toml
Add file for Brazilian Portuguese i18n
2020-12-05 22:48:13 -03:00
Jimmy Cai
5b1bfe566d doc: migrate to GitBook
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/47
2020-12-04 17:38:14 +01:00
Jimmy Cai
11cb95fe04
ci: upgrade Hugo version to 0.79.0 (#56) 2020-12-04 16:28:42 +01:00
Jimmy Cai
6b5eae9a7e
Merge pull request #52 from vlourme/translations
i18n: added french translations & footer translation
2020-11-28 12:35:34 +01:00
Jimmy Cai
81c0b1ba9c i18n: add variables for footer translation 2020-11-28 12:29:43 +01:00
Jimmy Cai
50b3ed18e3
Merge branch 'master' into translations 2020-11-28 12:16:38 +01:00
Jimmy Cai
6b5e840111
Merge pull request #51 from vlourme/emoji
sidebar: hide emoji placeholder when no emoji is specified
2020-11-23 10:48:38 +01:00
Jimmy Cai
b36cf5cc4e
style: add indent to /partials/sidebar/left.html 2020-11-23 10:47:22 +01:00
Victor Lourme
2b4f529404 i18n: added footer translations 2020-11-23 10:15:47 +01:00
Victor Lourme
819c8ea0b4 i18n: add french translations 2020-11-23 10:15:35 +01:00
Victor Lourme
f763adfa60 sidebar: hide emoji placeholder when no emoji is specified 2020-11-23 10:01:39 +01:00
Jimmy Cai
cd408279e4 release: 1.1.0 version 2020-11-08 00:28:30 +01:00
Jimmy Cai
f3107a35a7
Add Release Drafter Template 2020-11-07 14:06:00 +01:00
Jimmy Cai
695260cf0d
Set up release drafter action 2020-11-07 14:03:57 +01:00
Jimmy Cai
5bc567082b Add release-drafter 2020-11-07 13:53:11 +01:00
Jimmy Cai
148f0ff8fe
Merge pull request #19 from CaiJimmy/template-search
feat: local search
2020-11-06 12:19:33 +01:00
Jimmy Cai
efa7ff14b7 refactor(search): remove .search-result--title style 2020-11-06 12:13:12 +01:00
Jimmy Cai
a81dac7bb0
Merge branch 'master' into template-search 2020-11-06 12:09:23 +01:00
Jimmy Cai
c018f4967a feat(search): i18n support 2020-11-06 11:49:30 +01:00
Jimmy Cai
f5d45458fd refactor(search): create Search class 2020-11-06 11:33:51 +01:00
Jimmy Cai
b97e86a7a7 style: remove empty line in main.ts 2020-11-06 11:33:33 +01:00
Jimmy Cai
2736fec285 refactor: create createElement.ts 2020-11-06 11:12:48 +01:00
Jimmy Cai
3db6df8f46
Merge pull request #46 from crateout/master
fix(article): related contents is showing hidden post
2020-11-06 10:36:23 +01:00
Ahmad Yasser
37a2090739
fix(article): related contents is showing hidden post 2020-11-06 16:19:26 +08:00
Ahmad Yasser
a3f1d84c51
fix(article): related contents is showing hidden post 2020-11-06 11:10:30 +08:00
Jimmy Cai
b3df22940d
Merge branch 'master' into template-search 2020-10-31 23:37:36 +01:00
Jimmy Cai
be416830ad feat: add support for custom SCSS
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/43
2020-10-31 23:36:16 +01:00
Jimmy Cai
c3b3c2f0ee
Merge pull request #44 from CaiJimmy/refactor-rel-permalink
refactor: use relative link for hyperlinks
2020-10-31 23:28:28 +01:00
Jimmy Cai
b5645f0180 refactor: use relative link for hyperlinks 2020-10-31 23:24:58 +01:00
Jimmy Cai
d6b0f10241 fix(exampleSite): remove Instagram shortcode
ref https://github.com/gohugoio/hugo/issues/7866

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/41
2020-10-26 17:38:16 +01:00