CaiJimmy / hugo-theme-stack

Card-style Hugo theme designed for bloggers
https://stack.jimmycai.com
GNU General Public License v3.0
4.83k stars 1.55k forks source link

Add support for comment provider disqusJS #305

Closed ShadowySpirits closed 3 years ago

ShadowySpirits commented 3 years ago

Is your feature request related to a problem? Please describe. Disqus blocked in some internet censorship countries. So it is necessary to support the basic mode of disqus that can read reviews in Internet censorship countries.

Describe the solution you'd like SukkaW/DisqusJS implements this basic mode well. I integrated disqusJS into stack as a comment provider. If you consider accepting this proposal, I am willing to submit a pr.

screenshot: light mode: image

dark mode: image

ShadowySpirits commented 3 years ago

PS. disqusJS can detect whether disqus can be accessed to automatically switch between normal mode and basic mode.

demo: https://blog.lv5.moe/p/nginx-ssl-tls-configuration-optimization/

CaiJimmy commented 3 years ago

👍 Looks good to me. PR is welcome.