Don't display site operator when empty

This commit is contained in:
Jiajie Chen 2020-08-04 14:46:24 +08:00
parent 87f441e098
commit 8c14bc72a9

View File

@ -4,7 +4,7 @@
<div class="container">
<div class="row">
<div class="col-lg-4 col-md-4{% if page.legacy %} col-xs-4{% endif %}">
<p class="thuhidden">本站由{{ site.operator }}支持创办,由清华大学 TUNA 协会运行维护。</p>
<p class="thuhidden">本站{% if site.operator %}由{{ site.operator }}支持创办,{% endif %}由清华大学 TUNA 协会运行维护。</p>
<p class="thuhidden">清华大学 TUNA 协会,全名清华大学学生网络与开源软件协会,是由清华大学热爱网络技术和开源软件的极客组成的学生技术社团。</p>
<p>本站相关源码可在 <a href="https://github.com/tuna/tunasync"><em>这里(镜像管理器)</em></a><a href="https://github.com/tuna/mirror-web"><em>这里(镜像站网页)</em></a> 获取。</p>
<p class="thuhidden">根据相关法律法规,本站不对欧盟用户提供服务。</p>