Add reward 增加文章打赏功能 - #186
Open
zhwhong wants to merge 3 commits into
Open
Conversation
hzyfox
reviewed
Apr 26, 2017
| @import "_variables" | ||
| @import "_util/mixin" | ||
| @import "_util/grid" | ||
| @import "_partial/sidebar" |
Author
There was a problem hiding this comment.
恩,对对,我自己本地是donate,估计是复制到hexo-theme-yelee仓库里面提pull request时打错了,谢谢指正
zhwhong
commented
Apr 26, 2017
| @import "_variables" | ||
| @import "_util/mixin" | ||
| @import "_util/grid" | ||
| @import "_partial/sidebar" |
|
@zhwhong 我按你的方法改了,另外一个主题,怎么就不行呢? |
Author
|
@tyrionyu 不同主题其实现方式可能有所不同,你要看具体的layout里的ejs是怎么实现的,然后对应的修改 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
layout/_partial/donate.ejs和source/css/_partial/donate.styl控制,不影响原始代码,具体显示样式可以方便修改css和ejs文件,根据自己喜好可以设置按钮为打赏图标;打赏效果图示例:
效果可以看我的博客:https://zhwhong.cn