-
Notifications
You must be signed in to change notification settings - Fork 328
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
Add reward 增加文章打赏功能 #186
base: master
Are you sure you want to change the base?
Add reward 增加文章打赏功能 #186
Conversation
source/css/style.styl
Outdated
@@ -2,6 +2,7 @@ | |||
@import "_variables" | |||
@import "_util/mixin" | |||
@import "_util/grid" | |||
@import "_partial/sidebar" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里应该是_partial/donate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
恩,对对,我自己本地是donate,估计是复制到hexo-theme-yelee仓库里面提pull request时打错了,谢谢指正
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已更正,可以了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已更正,可以了
source/css/style.styl
Outdated
@@ -2,6 +2,7 @@ | |||
@import "_variables" | |||
@import "_util/mixin" | |||
@import "_util/grid" | |||
@import "_partial/sidebar" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已更正,可以了
@zhwhong 我按你的方法改了,另外一个主题,怎么就不行呢? |
@tyrionyu 不同主题其实现方式可能有所不同,你要看具体的layout里的ejs是怎么实现的,然后对应的修改 |
layout/_partial/donate.ejs
和source/css/_partial/donate.styl
控制,不影响原始代码,具体显示样式可以方便修改css和ejs文件,根据自己喜好可以设置按钮为打赏图标;打赏效果图示例:
效果可以看我的博客:https://zhwhong.cn