mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
Add option to hide download links
This commit is contained in:
parent
5abf1f6a87
commit
007523f341
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue