mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
Fix last commit by using thuhidden correctly
This commit is contained in:
parent
264d311e13
commit
62bef47fcd
|
|
@ -8,9 +8,12 @@
|
|||
# Site settings
|
||||
title: 清华大学开源软件镜像站
|
||||
# title: 北京外国语大学开源软件镜像站
|
||||
school: 清华大学
|
||||
# school: 北京外国语大学
|
||||
brand: Tsinghua Open Source Mirror
|
||||
operator: 清华大学信息化技术中心
|
||||
# title: 北外信息技术中心
|
||||
# operator: 北外信息技术中心
|
||||
logo: true
|
||||
baseurl: "" # the subpath of your site, e.g. /blog
|
||||
permalink: "/:categories/:title/"
|
||||
url: "https://mirrors.tuna.tsinghua.edu.cn"
|
||||
|
|
|
|||
|
|
@ -9,23 +9,24 @@
|
|||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
{% endunless %}
|
||||
<a class="navbar-brand" href="/"><!--
|
||||
--><span class="thuhidden"><!--
|
||||
--><picture>
|
||||
<source
|
||||
srcset="/static/img/logo-small-dark.png 1x,
|
||||
/static/img/logo-small-dark@2x.png 2x,
|
||||
/static/img/logo-small-dark@3x.png 3x,
|
||||
/static/img/logo-small-dark@4x.png 4x"
|
||||
media="(prefers-color-scheme: dark)"/>
|
||||
<img src="/static/img/logo-small.png"
|
||||
srcset="/static/img/logo-small.png 1x,
|
||||
/static/img/logo-small@2x.png 2x,
|
||||
/static/img/logo-small@3x.png 3x,
|
||||
/static/img/logo-small@4x.png 4x"
|
||||
alt=""/>
|
||||
</picture>
|
||||
{{ site.title }}
|
||||
<a class="navbar-brand" href="/">
|
||||
<span class="thuhidden">
|
||||
<picture>
|
||||
<source
|
||||
srcset="/static/img/logo-small-dark.png 1x,
|
||||
/static/img/logo-small-dark@2x.png 2x,
|
||||
/static/img/logo-small-dark@3x.png 3x,
|
||||
/static/img/logo-small-dark@4x.png 4x"
|
||||
media="(prefers-color-scheme: dark)"/>
|
||||
<img src="/static/img/logo-small.png"
|
||||
srcset="/static/img/logo-small.png 1x,
|
||||
/static/img/logo-small@2x.png 2x,
|
||||
/static/img/logo-small@3x.png 3x,
|
||||
/static/img/logo-small@4x.png 4x"
|
||||
alt=""/>
|
||||
</picture>
|
||||
{{ site.school }}</span>开源软件镜像站
|
||||
</a>
|
||||
</div>
|
||||
<div class="{% unless page.legacy %}navbar-collapse collapse {% endunless %}navbar-right">
|
||||
<ul class="nav navbar-nav" role="menubar">
|
||||
|
|
|
|||
Loading…
Reference in New Issue