mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
config: add option for displaying mirrorz
This commit is contained in:
parent
1dcbc3c125
commit
fd574d3a7b
|
|
@ -32,6 +32,10 @@ hide_navbar: false
|
|||
hide_download: false
|
||||
hide_server_status: false
|
||||
|
||||
hide_mirrorz: false
|
||||
mirrorz_desc: 校园网联合镜像站
|
||||
mirrorz_link: "https://mirrors.cernet.edu.cn/list"
|
||||
|
||||
# Build settings
|
||||
highlighter: rouge
|
||||
markdown: kramdown
|
||||
|
|
|
|||
|
|
@ -154,10 +154,12 @@
|
|||
<li><a href="https://github.com/tuna/tunasync-scripts">自定义镜像脚本</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
{% unless site.hide_mirrorz %}
|
||||
<div class="thuhidden {%if site.issue%}col-md-2{%endif%}">
|
||||
<h4> {% fa_svg fas.fa-compact-disc %} 更多镜像 </h4>
|
||||
<p><a href="https://mirrors.cernet.edu.cn/list">校园网联合镜像站</a></p>
|
||||
<p><a href="{{ site.mirrorz_link }}">{{ site.mirrorz_desc }}</a></p>
|
||||
</div>
|
||||
{% endunless %}
|
||||
{% unless site.issue %}
|
||||
</div>
|
||||
{% endunless %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue