Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于使用giscus #22

Closed
sxf51 opened this issue Mar 26, 2024 · 1 comment
Closed

关于使用giscus #22

sxf51 opened this issue Mar 26, 2024 · 1 comment

Comments

@sxf51
Copy link

sxf51 commented Mar 26, 2024

很漂亮的主题!大佬太强了!

_已解决,吧?_由于并不了解前端的东西,就用了一些笨方法。

  • giscus盒子宽度问题:在css/style 中重新设置宽度,覆盖掉引用的default.css
.giscus, .giscus-frame {
  width: auto;
}

.giscus-frame {
  width: 100%
}
  • comments: false 失效问题(可能是我的Hexo 太老了):在layout/_partial/after_footer.ejs 的 giscus.enable 判断中加一个逻辑
<% if (theme.giscus.enable && page.comments) { %>
@D-Sketon
Copy link
Owner

D-Sketon commented Apr 4, 2024

感谢反馈,0.1.1已修复

@D-Sketon D-Sketon closed this as completed Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants