Jimmy Cai
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
Yihui Xie
38eb9c4eaf
fix(article): also define the padding for div under .article-content ( #162 )
...
Fixes rstudio/blogdown#591 : not only `<p>` but also `<div>` could be the direct child of `.article-content`, so we also need the padding for `<div>`. The `div`s are generated by Pandoc, instead of Hugo's Markdown renderer. I think it will be great to support both ways.
2021-03-06 20:41:46 +01:00
Spicy
e61bca1dbd
i18n: Spanish translation ( #155 )
...
Co-authored-by: Jimmy Cai <jimmehcai@gmail.com>
2021-02-26 17:43:47 +01:00
Jimmy Cai
96db925b06
ci: exclude image cache from artifact
2021-02-17 10:34:08 +01:00
Jimmy Cai
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
21b42f0b6c
feat: add archetypes ( #145 )
2021-02-13 15:55:56 +01:00
Jimmy Cai
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
Jimmy Cai
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
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
e661fe2ead
ci: build Hugo artifact ( #142 )
2021-02-12 13:30:52 +01:00
Jimmy Cai
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
326c052a24
fix(article): code background ( #139 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/126
2021-02-11 21:22:02 +01:00
Junwoo Hwang
9914bba42c
fix: remove word-wrap property for Safari ( #131 )
2021-02-11 19:05:12 +01:00
Akatsuki Rui
a37ebbe2aa
assets: fix font-family fallback ( #130 )
...
If not have monospace, fonts will fallback to sans-serif when these fonts not available.
2021-02-11 19:00:59 +01:00
Julian Alarcon
83e3a4e8e1
feat: Google Analytics support ( #135 )
...
* Added Google Analytics feature
* style: load GA script before head/custom
* style(config): googleAnalytics field empty by default
Co-authored-by: Jimmy Cai <github@jimmycai.com>
2021-02-11 18:56:39 +01:00
Jimmy Cai
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
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
90e259f31e
fix(colorScheme): dispatch onColorSchemeChange at page load ( #118 )
2021-01-04 10:52:14 +01:00
SOT-TECH
1ec73b2d76
fix(i18n/ru): fix typo in 'notFound' ( #114 )
2021-01-03 22:42:08 +01:00
Daniel Pessoa
0de250c9ff
feat(i18n): Improve Brazilian portuguese translation ( #112 )
2021-01-02 10:52:20 +01:00
Jimmy Cai
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
2ee854dd6a
fix(search): add missing i18n text ( #110 )
2021-01-01 13:24:26 +01:00
Jimmy Cai
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
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
SOT-TECH
3572fff280
feat(i18n): add Russian translation ( #101 )
2020-12-30 11:25:13 +01:00
zhixuan
400b0a9283
feat(i18n): improve Japanese translation ( #99 )
2020-12-30 11:20:51 +01:00
zoxoy
bccb62cd46
feat: add bilibili shortcode ( #97 )
2020-12-30 09:28:22 +01:00
Jimmy Cai
0d645fe664
chore(style): update compiled scss
2020-12-28 10:51:00 +01:00
İsmail Özçelik
d790d42441
feat(i18n): add Turkish language file ( #96 )
2020-12-28 00:11:48 +01:00
Jimmy Cai
464f4b1d3b
chore: release 2.0.1
2020-12-26 09:14:49 +01:00
Jimmy Cai
f2955aac27
refactor(article): improve category tag style ( #94 )
2020-12-25 09:59:02 +01:00
Jimmy Cai
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
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
3326cf886a
fix: dark mode toggle inconsistent positioning ( #89 )
2020-12-24 11:06:58 +01:00
Jimmy Cai
39dd18e603
feat(math): add inline math support ( #88 )
2020-12-24 10:57:01 +01:00
Jimmy Cai
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
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
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