Jimmy Cai
2629d740ed
Merge branch 'master' into change-vertical-scrollbar-styles
2021-06-19 20:29:29 +02:00
k
e90adc4773
change document.body.dataset.scheme to document.documentElement.dataset.scheme
...
When the dark mode is on or when the light mode is on, the
[data-scheme="light"] or [data-scheme="dark"], respectively, will be
placed in the <html> tag. Allowing us to access the dark and light color
schemes from the <html> to change the vertical scrollbar styles
according to the current color scheme.
2021-06-14 17:04:06 -05:00
暁学生
ed4a1bc56e
feat(comment): add Waline ( #200 )
...
* feat(comment): add Waline
* fix: waline client config
* fix: waline client config
* #200#issuecomment-860025299
* Update config.yaml
* Update Waline section of config.yaml
* Remove double quote escape
Co-authored-by: zhixuan <jinzhixuan666@gmail.com>
Co-authored-by: Jimmy Cai <jimmehcai@gmail.com>
2021-06-14 21:05:27 +02:00
慕枫Go
325303a7f8
feat: add Vssue comment ( #197 )
...
* 添加Vssue评论插件
* 修复默认代理过期问题
* style(comment/vssue): format html
Co-authored-by: Jimmy Cai <github@jimmycai.com>
2021-04-26 18:27:44 +02: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
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
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
9fcdedf042
feat(comments): add utterances support
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/21
2020-10-04 16:23:08 +02:00
Jimmy Cai
0cee4930e2
fix(disqus): fix container padding
...
Rename `--content-padding` to `--card-padding`
2020-09-20 23:45:44 +02:00
Jimmy Cai
7e701c0239
refactor(scss): remove comments
scss folder. Include style of each comment system inside their HTML template
2020-09-09 16:19:37 +02:00
Jimmy Cai
2912b7e2f0
fix(comments): remove div.comments-container, apply card style depending on comment system
2020-09-09 00:24:17 +02:00
Jimmy Cai
c546964ce4
feat(comments): prepare for more third party comments system integration
2020-09-08 23:30:15 +02:00