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

Github badges #483

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Github badges #483

wants to merge 1 commit into from

Conversation

Phenix93
Copy link

footer添加了类似shields.io/Github badge的徽章可以灵活配置,效果可以看这里(速度会稍微有点卡,博客还在调整)
这只是我个人比较感兴趣的东西,所以加到了我自己的主题配置里,和maupassant风格可能不太搭
如果需要的话,欢迎并入

@tufu9441
Copy link
Owner

效果的确不错,我自己也挺喜欢这种风格。不过以启用busuanzi的方式来加载的逻辑,个人认为不够通用,可以考虑添加单独的开关。无论如何我会自己先用上试试看~

@Phenix93
Copy link
Author

Phenix93 commented Apr 16, 2020

启用busuanzi是为了使用type:uv/pv,busuanzi如果不启用,只是会让uv/pv的badge显示默认的message而不是变成数字。
另外,我对pug不熟悉,也是临时抱佛脚,语法上可能也会粗糙一些,你酌情修正就好:)

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

Successfully merging this pull request may close these issues.

None yet

2 participants