Add option to hide download links

This commit is contained in:
Jiajie Chen 2020-08-05 10:03:48 +08:00
parent 5abf1f6a87
commit 007523f341
2 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ aur: "aur.tuna.tsinghua.edu.cn"
pypi: "pypi.tuna.tsinghua.edu.cn"
homelink: "https://tuna.moe"
hide_navbar: false
hide_download: false
# Build settings
highlighter: rouge

View File

@ -100,7 +100,7 @@
{% endif %}
</ul>
</div>
{% unless page.legacy %}
{% unless page.legacy or site.hide_download %}
<div id="download-link">
<h4><span class="fa fa-file-archive-o"></span> 下载链接 </h4>
<p>常用发行版 iso 和应用工具安装包直接下载</p>