mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
Show logo when site.logo is set
This commit is contained in:
parent
62bef47fcd
commit
4d11f03d38
|
|
@ -11,6 +11,7 @@
|
|||
{% endunless %}
|
||||
<a class="navbar-brand" href="/">
|
||||
<span class="thuhidden">
|
||||
{% if site.logo %}
|
||||
<picture>
|
||||
<source
|
||||
srcset="/static/img/logo-small-dark.png 1x,
|
||||
|
|
@ -25,6 +26,7 @@
|
|||
/static/img/logo-small@4x.png 4x"
|
||||
alt=""/>
|
||||
</picture>
|
||||
{% endif %}
|
||||
{{ site.school }}</span>开源软件镜像站
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue