Jimmy Cai
5d1a7b8768
ci: upgrade hugo version to 0.85.0
...
Use official version of plugin `netlify-plugin-hugo-cache-resources`
2021-07-09 13:12:03 +02:00
Jimmy Cai
28ab0dd980
doc: update README to include license information
2021-07-09 13:04:30 +02:00
Jimmy Cai
1857909fe4
fix(menu): remove horizontal menu margin on mobile
2021-07-09 12:20:13 +02:00
Jimmy Cai
1fa573dae3
release: version 2.5.0
2021-07-06 12:36:34 +02:00
Jimmy
be2defe8fb
chore: update theme.toml to the latest format
2021-07-04 21:07:45 +02:00
Jimmy
70615246c5
release: v2.4.0
2021-06-21 18:50:24 +02:00
Jimmy Cai and GitHub
41fa65cbf5
feat: Table of Contents ( #232 )
...
Currently, the new table of contents is disabled by default. I will change that after several versions.
-------------
* feat: Table of Content (WIP)
* fix: set scratch inside define block
* fix(toc): darkmode text color
* feat: unify page layout, and add config to disable toc
* feat: add scroll-behavior: smooth to html
* fix: use <ol> for TOC. And Disable TOC by default for now
* refactor: use css flexbox for article page with toc
enable toc for example site
* feat(i18n): add i18n entry for "Back" and "Table of Contents"
* style: remove unused `keep-sidebar` class
* doc: add table of contents as feature
2021-06-21 18:44:54 +02:00
Jimmy Cai and GitHub
495a3b0289
refactor: rewrite grid system & style changes ( #231 )
...
* refactor(WIP): add new SCSS mixin `respond`
Theme's stylesheet mixes the use of max-width and min-width for responsive design, and it's horrible.
* refactor: update variable.scss to use @mixin respond
* refactor(grid): adjust sidebar max-width
* refactor(partials/article.scss): use `@include respond`
* refactor(layout/article.scss): delete unused SCSS and migrate to `@include respond`
* Adjust left sidebar max-width on xl screen
* fix: right sidebar not sticky
* refactor(breakpoint): simplify `@mixin respond`
* refactor(breakpoints): improve warning message
* fix(breakpoint): return only the requested breakpoint
* fix: add missing padding to .article-details
2021-06-20 12:53:10 +02:00
Jimmy Cai and GitHub
2bd9bc4f7d
chore(github): update bug report template
2021-04-04 12:38:28 +02:00
Jimmy Cai
1300e0d714
release: 2.3.0
2021-03-27 23:39:29 +01:00
Jimmy Cai and GitHub
5d004786d6
Merge pull request #174 from totoroot/main
...
i18n: German translation
2021-03-27 23:35:54 +01:00
Jimmy Cai and GitHub
3e8490da1d
fix: incorrect image & menu path for site hosted in subdir ( #168 )
2021-03-07 13:13:07 +01:00
Jimmy Cai and GitHub
9befda7310
refactor: add exampleSite menu using FrontMatter ( #167 )
2021-03-07 13:02:39 +01:00
Jimmy Cai and GitHub
d5268a41e0
refactor(article): add default padding ( #166 )
...
* refactor(article): add default padding
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/165
* fix(article): video iframe margin
* fix: remove youtube iframe border
2021-03-07 12:51:47 +01:00
Jimmy Cai and GitHub
96db925b06
ci: exclude image cache from artifact
2021-02-17 10:34:08 +01:00
Jimmy Cai and GitHub
0429678d57
fix(scss): remove unnecessary import ( #146 )
2021-02-17 10:29:40 +01:00
Jimmy Cai
cef9fe2549
release: v2.2.0
2021-02-13 16:30:01 +01:00
Jimmy Cai and GitHub
21b42f0b6c
feat: add archetypes ( #145 )
2021-02-13 15:55:56 +01:00
Jimmy Cai and GitHub
79412144d9
fix: disable svg image processing ( #144 )
...
* fix: disable svg image processing
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/132
* style: remove extra blank space
2021-02-13 12:57:19 +01:00
79d8c1db38
feat: Tencent video shortcode and remark42 integration ( #143 )
...
* 增加remark42的评论系统支持,config中增加对应配置。
* remark42评论系统,语言配置加入到config中,修正切换theme时评论区跟随主题切换。
* - 新增腾讯视频的支持
- 支持通过frontmatter配置在文章中插入音频
* 更新readme
* Delete README.md
* Create README.md
* Remove MetingJS
* fix(shortcode/tencent): switch to HTML5
The old one was showing video using Flash.
* style(comments): clean remark42 integration code
Co-authored-by: wood <wood@hfge.cn >
Co-authored-by: Wood <34589275+hfge@users.noreply.github.com >
2021-02-13 11:10:24 +01:00
Jimmy Cai
8b6622792d
Merge branch 'master' of https://github.com/CaiJimmy/hugo-theme-stack
2021-02-12 15:01:32 +01:00
Jimmy Cai
1814a14c20
chore: update compiled SCSS file of v2.1.0
2021-02-12 15:01:28 +01:00
Jimmy Cai and GitHub
bdd2bd429a
fix(ci): use correct path for artifact
2021-02-12 14:59:37 +01:00
Jimmy Cai
6c27767dac
release: 2.1.0
2021-02-12 14:57:51 +01:00
Jimmy Cai and GitHub
e661fe2ead
ci: build Hugo artifact ( #142 )
2021-02-12 13:30:52 +01:00
Jimmy Cai and GitHub
8b17b8a4ee
feat: add data/external.yaml ( #140 )
...
* feat: add data/external.yaml
Manage all external resources URL in one file
* style: format data/external
* style(helper/external): error message
* remove whitespace
2021-02-12 13:21:43 +01:00
Jimmy Cai and GitHub
326c052a24
fix(article): code background ( #139 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/126
2021-02-11 21:22:02 +01:00
Jimmy Cai and GitHub
a8718592df
fix(utterances): set color scheme on load ( #138 )
...
* fix(utterances): set color scheme on load
Remove utterances.theme option from config.yaml
* fix(utterances): restore async tag
2021-02-11 18:46:23 +01:00
Jimmy Cai and GitHub
70cc14fcbe
feat(list): display subsections in list style when there are no normal pages ( #121 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/116
2021-01-07 11:28:16 +01:00
Jimmy Cai and GitHub
90e259f31e
fix(colorScheme): dispatch onColorSchemeChange at page load ( #118 )
2021-01-04 10:52:14 +01:00
Jimmy Cai and GitHub
84dd80959a
fix: make Disqus / Utterances follow the global color scheme ( #111 )
...
* fix: make Disqus / Utterances follow the global color scheme
* fix: check if DISQUS exists before executing DISQUS.reset
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/107
2021-01-01 13:32:19 +01:00
Jimmy Cai and GitHub
2ee854dd6a
fix(search): add missing i18n text ( #110 )
2021-01-01 13:24:26 +01:00
Jimmy Cai and GitHub
ced387cbd5
Merge pull request #109 from CaiJimmy/refactor-widget
...
feat(widget): detect automatically path to archives / search page
2021-01-01 13:18:58 +01:00
Jimmy Cai
efa3452cdb
refactor(widget/archives): remove .widgets.archives.path config
...
The theme will automatically detect the permalink to the archives page.
2021-01-01 13:16:11 +01:00
Jimmy Cai
5ac2552e7c
fix(widget/search): remove hardcoded form action
2021-01-01 13:12:23 +01:00
Jimmy Cai and GitHub
ae477ab224
refactor(archives): remove archive.categories i18n item ( #108 )
...
It's possible in the future to display another kind of taxonomy.
To translate that title, create _index.md under content/categories, with the following content:
---
title: Category
---
2021-01-01 13:04:37 +01:00
Jimmy Cai
0d645fe664
chore(style): update compiled scss
2020-12-28 10:51:00 +01:00
Jimmy Cai
464f4b1d3b
chore: release 2.0.1
2020-12-26 09:14:49 +01:00
Jimmy Cai and GitHub
f2955aac27
refactor(article): improve category tag style ( #94 )
2020-12-25 09:59:02 +01:00
Jimmy Cai and GitHub
a5820c6f52
fix(search): wrong permalink to page ( #93 )
...
- Show external image
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/92
2020-12-25 09:39:04 +01:00
Jimmy Cai and GitHub
80be1b2435
fix(article): twitter_simple shortcode text color ( #90 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/85
2020-12-24 11:24:26 +01:00
Jimmy Cai and GitHub
3326cf886a
fix: dark mode toggle inconsistent positioning ( #89 )
2020-12-24 11:06:58 +01:00
Jimmy Cai and GitHub
39dd18e603
feat(math): add inline math support ( #88 )
2020-12-24 10:57:01 +01:00
Jimmy Cai and GitHub
de79b8a470
fix(list): add missing object-fit property to compact list ( #87 )
2020-12-24 10:43:09 +01:00
Jimmy Cai
e937a14367
chore: release 2.0.0
2020-12-23 23:21:50 +01:00
Jimmy Cai
983aaa962f
doc: update README
2020-12-23 22:37:21 +01:00
Jimmy Cai and GitHub
2ad65a4c07
feat: add option to disable image processing ( #83 )
...
* feat: add option to disable image processing
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/37
* refactor(list): use article/components/header inside default.html
* refactor: use .Fill for cover image
2020-12-23 21:02:35 +01:00
Jimmy Cai
64e06f0beb
Bump required Hugo version to 0.78.0
2020-12-23 19:17:17 +01:00
Jimmy Cai and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
33685fb878
fix(list): section title style ( #76 )
2020-12-21 17:26:58 +01:00
Jimmy Cai and GitHub
680832920f
ci: add refactor section for release note
2020-12-20 13:01:56 +01:00
Jimmy Cai and GitHub
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 and GitHub
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 and GitHub
25a72940b8
refactor(opengraph): add default value for twitter:card ( #72 )
2020-12-20 11:05:34 +01:00
Jimmy Cai and GitHub
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 and GitHub
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
Jimmy Cai and GitHub
69b1524f91
Merge pull request #57 from cobalto/i18n/brazilian-portuguese
...
Add pt-BR.toml
2020-12-07 14:48:48 +01:00
Jimmy Cai and GitHub
c6d752d420
Merge pull request #58 from BasixKOR/master
...
feat(i18n): add Korean translations
2020-12-07 14:44:13 +01: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 and GitHub
11cb95fe04
ci: upgrade Hugo version to 0.79.0 ( #56 )
2020-12-04 16:28:42 +01:00
Jimmy Cai and GitHub
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 and GitHub
50b3ed18e3
Merge branch 'master' into translations
2020-11-28 12:16:38 +01:00
Jimmy Cai and GitHub
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
cd408279e4
release: 1.1.0 version
2020-11-08 00:28:30 +01:00
Jimmy Cai and GitHub
f3107a35a7
Add Release Drafter Template
2020-11-07 14:06:00 +01:00
Jimmy Cai and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
3db6df8f46
Merge pull request #46 from crateout/master
...
fix(article): related contents is showing hidden post
2020-11-06 10:36:23 +01:00
Jimmy Cai and GitHub
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 and GitHub
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
Jimmy Cai and GitHub
c666c79800
Merge branch 'master' into template-search
2020-10-17 10:45:17 +02:00
Jimmy Cai and GitHub
f7b61b9556
Merge pull request #39 from CaiJimmy/new-archive-widget
...
feat: new archive widget style
2020-10-17 10:43:55 +02:00
Jimmy Cai
5c55bd2d33
feat(widget): new archive widget style
2020-10-17 10:34:36 +02:00
Jimmy Cai
34cd7852bc
refactor: remove partialCached from sidebar/right
2020-10-17 10:34:02 +02:00
Jimmy Cai and GitHub
49e568faac
refactor: add .section-title ( #36 )
...
For the small title before the card
Remove .widget-title, .archive-date, .taxonomy-type from SCSS, as they all share the same style.
2020-10-12 20:49:56 +02:00
Jimmy Cai
26fedaebd2
refactor(search): include icon using helper/icon
2020-10-12 20:31:40 +02:00
Jimmy Cai and GitHub
c266204f98
Merge branch 'master' into template-search
2020-10-10 10:05:31 +02:00
Jimmy Cai
a4418951d0
release: 1.0.5 version
2020-10-10 09:57:04 +02:00
Jimmy Cai
0289feb221
doc(README): requirements section update
2020-10-10 09:50:28 +02:00
Jimmy Cai and GitHub
765ff12a09
Merge pull request #34 from CaiJimmy/taxonomy-fix
...
fix: consistent style of taxonomy name
2020-10-10 09:17:35 +02:00
Jimmy Cai
0c5e6af9d3
refactor(article): remove uppercase style of tags
2020-10-10 09:14:27 +02:00
Jimmy Cai
9df7271547
refactor: remove humanize function from taxonomy name
2020-10-10 09:13:40 +02:00
Jimmy Cai and GitHub
fc0e7c847c
merge( #33 ): from icon-helper to master
...
feat(helper): add helper/icon
2020-10-10 00:33:28 +02:00
Jimmy Cai
871e8c0bd5
feat(helper): add helper/icon
2020-10-10 00:27:56 +02:00