Github页面的下载按钮 [英] Download Buttons for Github Pages

查看:953
本文介绍了Github页面的下载按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在为现有存储库的github页面选择主题时,您可以看到这组按钮(例如,在Minimal主题中):

When selecting the theme for the github page of an existing repository, you can see this set of buttons (in the Minimal theme, for example):

但是当我访问github页面站点时,按钮不存在;我所看到的只是我的存储库readme.md在GitHub上查看项目链接.有没有办法在我的页面上显示这些按钮?

But when I visit my github pages site, the buttons are not there; all I can see is my readme.md for the repository, and the View the Project on GitHub link. Is there a way to get these buttons on my page?

推荐答案

只需将show_downloads: true添加到您的_config.yml

Just add show_downloads: true to your _config.yml

这篇关于Github页面的下载按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆