Andreas Deininger and GitHub
291fe5fd7e
feat: remove deprecated Hugo templates and shortcode usage ( #1150 )
...
Adapt site to latest hugo version 0.147.1
2025-11-01 21:49:15 +01:00
powerfullz and GitHub
c413980b89
fix(twikoo): certain Twikoo elements wouldn’t automatically switch colours in dark mode and update to Twikoo version 1.6.44 ( #1163 )
2025-11-01 21:35:09 +01:00
Gleb A. and GitHub
47832083d8
refactor(comments): use includes instead of indexOf to improve readability ( #1128 )
...
* fix(disqusjs): refactor local DisqusJS loading check for improved readability
* fix(gitalk): refactor local Gitalk loading check for improved readability
2025-05-21 12:52:47 +02:00
Lparksi and GitHub
d9acd77015
feat(comment/waline): add support for Waline's turnstileKey ( #1140 )
...
* fix: Added support for waline's turnstileKey
* style: remove extra space in waline.html
2025-05-21 12:31:22 +02:00
Jimmy and GitHub
f1ab6c6aba
fix(giscus): no longer use $.Language.LanguageCode for the language of Giscus ( #1118 )
...
fix(giscus): rollback https://github.com/CaiJimmy/hugo-theme-stack/pull/1075
User can still customize the language used for Giscus using `.Site.Params.comments.giscus.lang` parameter.
2025-01-23 22:54:37 +01:00
Jimmy Cai and GitHub
5175ac5ae3
fix(giscus): fallback to en if no language code is set ( #1084 )
2024-10-20 10:04:59 +02:00
xiaoxiyao and GitHub
8a7fb33163
feat(giscus): use current language as fallback for lang param and add loading param ( #1075 )
...
fix: giscus use current lang as default, and add missing `loading` params
2024-10-19 20:46:27 +02:00
powerfullz and GitHub
fa760d70cb
fix: use css.Sass instead of deprecated resources.ToCSS ( #1054 )
2024-09-07 18:42:07 +02:00
Syafa Adena and GitHub
bdcab89d86
chore: bump Twikoo front-end to latest released version 1.6.39 ( #1021 )
2024-09-07 18:14:57 +02:00
0558108e30
feat(comments): add support to Gitalk proxy parameter ( #1012 )
...
Co-authored-by: Jimmy Cai <hi@jimmycai.com >
2024-09-07 17:18:03 +02:00
Jiarong Hong and GitHub
f398fb9dd1
feat(comments): add support for Beaudar(表达)comment system ( #931 )
...
https://beaudar.lipk.org/
2024-03-02 23:33:11 +01:00
Jarao and GitHub
20bf719411
fix(comments): twikoo icon & count text color not visible on dark theme ( #890 )
...
* fix(comments): twikoo icon & count text color
* fix(comments): twikoo prompt color
2023-10-28 23:51:05 +02:00
潇潇雨歇 and GitHub
5c98a38a80
chore(comments): update twikoo to 1.6.21 ( #877 )
2023-10-07 13:08:02 +02:00
d11923f32b
fix: a waline config param with false value will be ignored ( #812 )
...
Co-authored-by: Jimmy Cai <hi@jimmycai.com >
2023-08-27 18:06:00 +02:00
Tsung-Yu Chan and GitHub
0bc942bb12
fix: remark42 comment system won't show ( #799 )
2023-07-12 09:37:39 +08:00
Weltolk and GitHub
a88fe3f5a7
chore: update twikoo version ( #783 )
2023-07-12 09:20:25 +08:00
Parasomnia and GitHub
d382ca993d
fix(comment/utterances): the target origin mismatch recipient window's origin ( #735 )
2022-12-06 14:55:40 +01:00
Dmitry Verkhoturov and GitHub
8826674b1f
fix(comments): update Remark42 source code ( #683 )
...
update remark42 source code
Updated frontend code taken from https://remark42.com/docs/configuration/frontend/
2022-09-29 16:22:01 +02:00
d00dbc17bc
feat(comment): add strict and input-position to Giscus config ( #648 )
...
* 添加giscus设置选项
根据giscus官方文档,添加了data-strict和data-input-position设置选项
* feat: add strict and inputPosition to giscus config section
Co-authored-by: Jimmy Cai <github@jimmycai.com >
2022-07-31 12:39:20 +02:00
Jimmy Cai and GitHub
165c96a8e0
fix(comments): Twikoo dark mode emoji selector background
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/583
credit: https://github.com/CaiJimmy/hugo-theme-stack/issues/583#issuecomment-1096270207 (@rmdhnreza)
2022-06-10 22:43:16 +00:00
Jimmy Cai and GitHub
01eb9a4b0e
fix: check if DISQUS is loaded before accessing it ( #626 )
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/571
2022-06-09 22:43:08 +02:00
luoboQAQ and GitHub
9eec31f0b6
feat(comment): Update Waline to V2 version ( #616 )
...
* ✨ feat(comment): 更新Waline至V2版本
* 保留placeholder属性
2022-06-08 18:30:52 +02:00
Weltolk and GitHub
06c68e2aa2
chore: update twikoo version to 1.5.11 ( #613 )
2022-06-05 18:48:01 +02:00
慕枫Go and GitHub
8c04e8362c
fix(vssue): Vue version compatibility ( #546 )
2022-03-20 00:52:06 +01:00
zhixuan and GitHub
24cd07589b
feat(comments): add lang option for giscus ( #498 )
2022-03-02 21:31:44 +01:00
JesseJeson and GitHub
26fb06951b
chore: update twikoo version to 1.4.18 ( #496 )
2022-02-26 23:49:26 +01:00
Jimmy Cai and GitHub
6474b9dfd8
fix(comments): fix cactus comments
...
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/470
2022-01-23 12:59:21 +00:00
Marcel and GitHub
7dc5def217
feat(comments): add https://cactus.chat support ( #298 )
...
* feat: Add https://cactus.chat as comments provider
* Add cactus comments config fields to exampleSite
* Add cactus css and js to external.yaml and move custom cactus css to html
* Remove unneeded cactus comments css
* Load external dependencies for cactus comments in the comments provider
* Use safeJS instead of safeHTML
2022-01-23 13:10:00 +01:00
tanmx and GitHub
eebaea81e8
feat(comment): update twikoo version to 1.4.15 ( #464 )
2022-01-19 15:22:51 +01:00
25581cc446
fix(comments/cusdis): use the correct script for the self-hosted version ( #403 )
...
* Modify the Self-hosting js source path
* refactor(comments/cusdis): avoid multiple if statement
Co-authored-by: Jimmy Cai <github@jimmycai.com >
2021-10-31 10:15:57 +01:00
WingLim and GitHub
d8c9468c68
feat(comments): add Cusdis support ( #372 )
...
* feat: add cusdis support
* docs: add cusdis example config
2021-10-01 16:38:37 +02:00
Cookiekira and GitHub
66bd8a2997
feat(comments): add Gitalk support ( #351 )
2021-09-18 10:03:08 +02:00
9f734a0647
feat(comments): DisqusJS integration ( #307 )
...
* add comment provider: DisqusJS
* Simplify `if` condition, and format code
* Load disqusjs.scss only when it's enabled
* Use `let` instead of `var`
Co-authored-by: sspirits <admin@lv5.moe >
Co-authored-by: Jimmy Cai <github@jimmycai.com >
2021-08-15 19:19:51 +02:00
c4cd4bf9a1
feat(comments): giscus integration ( #304 )
...
Co-authored-by: Jimmy Cai <github@jimmycai.com >
2021-08-15 12:03:59 +02:00
zhixuan and GitHub
61c021dae2
fix(comments): improve Twikoo style ( #289 )
2021-08-07 17:29:01 +02:00
zhixuan and GitHub
2fd3bde9a4
fix(comment/twikoo): submit button color ( #288 )
2021-08-05 11:20:03 +02:00
7b51bea912
feat(comment): add Twikoo support ( #286 )
...
* Create twikoo.html
* Upgrade to Twikoo 1.4.3 and add `lang` param
* Add twikoo section in config.yaml
Co-authored-by: Jimmy Cai <github@jimmycai.com >
2021-08-04 20:49:21 +02:00
慕枫Go and GitHub
b7d4048298
feat(comment/vssue): add parameter 'autoCreateIssue' ( #258 )
...
It's default false
2021-07-07 13:18:05 +02:00
dda55f87e2
feat: change the page vertical scrollbar styles ( #227 )
...
* fix: take out [data-scheme="dark"] from :root
Taking out the [data-scheme="dark"] from :root allows us to fix the
precedence of CSS when the [data-scheme="dark"] is placed in the <html>
tag. This is needed in order to make the dark styles accesible from the
<html> elment, this will allow us to change the vertical scrollbar
styles following the dark and light schemes.
* 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.
* feat: change the page vertical scrollbar styles
This change will make the vertical scrollbar styles to follow the dark
and light color scheme modes. Also, this change will make the vertical
scrollbar to look consistent in both, Chromium and Firefox.
* make the scrollbar-track background-color transparent
The body has this transition: 'transition: background-color 0.3s ease
0s'. Making the scrollbar-track background-color transparent allow us to
appreciate that transition in the scrollbar-track when switching the
background-color.
* Move [data-scheme=dark] back to :root block
* fix(comment/waline): detect dark mode from html tag
* feat: apply custom scrollbar style to all elements
Co-authored-by: Jimmy Cai <jimmehcai@gmail.com >
2021-06-20 15:49:35 +02: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
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
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 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
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 and GitHub
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