mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
Merge pull request #208 from tuna/more-config-options
More config options
This commit is contained in:
commit
e882c8142b
|
|
@ -27,6 +27,9 @@ arch_archive: "arch-archive.tuna.tsinghua.edu.cn"
|
|||
aur: "aur.tuna.tsinghua.edu.cn"
|
||||
pypi: "pypi.tuna.tsinghua.edu.cn"
|
||||
homelink: "https://tuna.moe"
|
||||
hide_navbar: false
|
||||
hide_download: false
|
||||
hide_server_status: false
|
||||
|
||||
# Build settings
|
||||
highlighter: rouge
|
||||
|
|
|
|||
|
|
@ -32,12 +32,14 @@
|
|||
</div>
|
||||
<div class="{% unless page.legacy %}navbar-collapse collapse {% endunless %}navbar-right">
|
||||
<ul class="nav navbar-nav" role="menubar">
|
||||
{% unless site.hide_navbar %}
|
||||
<li role="none"><a role="menuitem" href="{{ site.homelink }}">HOME</a></li>
|
||||
<li role="none"><a role="menuitem" href="https://tuna.moe/events/">EVENTS</a></li>
|
||||
<li role="none"><a role="menuitem" href="https://tuna.moe/blog/">BLOG</a></li>
|
||||
<li role="none"><a role="menuitem" href="https://tuna.moe/feed.xml">RSS</a></li>
|
||||
<li role="none"><a role="menuitem" href="https://podcast.tuna.moe/">PODCAST</a></li>
|
||||
<li role="none" class="active"><a role="menuitem" aria-checked="true" href="{{ site.url }}">MIRRORS</a></li>
|
||||
{% endunless %}
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ permalink: /status/
|
|||
<div id="status-page">
|
||||
<div class="spacing hidden-xs"></div>
|
||||
<div class="container">
|
||||
{% unless site.hide_server_status %}
|
||||
<h3 id="server-status"> # 服务器监控 </h3>
|
||||
<h4> # 网络流量 </h4>
|
||||
<div class="row">
|
||||
|
|
@ -32,6 +33,7 @@ permalink: /status/
|
|||
{% include status-pic.html name="cpu" %}
|
||||
{% include status-pic.html name="memory" %}
|
||||
</div>
|
||||
{% endunless %}
|
||||
<h3 id="syncing-status"># 同步状态</h3>
|
||||
<table class="table table-condensed flat-md">
|
||||
<thead class="hidden-xs hidden-sm">
|
||||
|
|
|
|||
Loading…
Reference in New Issue