Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
change font-family Segoe (#2453)
Browse files Browse the repository at this point in the history
Co-authored-by: Lijiao <15910218274@163.com>
  • Loading branch information
2 people authored and leckie-chn committed May 25, 2020
1 parent 6b162ae commit e27e3a9
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions docs/en_US/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
{% extends "!layout.html" %}
{% block sidebartitle %}

{% if logo and theme_logo_only %}
<a href="{{ pathto('index') }}">
{% else %}
<a href="{{ pathto('index') }}" class="icon icon-home"> {{ project }}
{% endif %}

{% if logo %}
{# Not strictly valid HTML, but it's the only way to display/scale it properly, without weird scripting or heaps of work #}
<img src="{{ pathto('_static/' + logo, 1) }}" class="logo" />
{% endif %}
</a>

{% if theme_display_version %}
{%- set nav_version = version %}
{% if READTHEDOCS and current_version %}
{%- set nav_version = current_version %}
{% endif %}
{% if nav_version %}
<div class="version">
{{ nav_version }}
</div>
{% endif %}
{% endif %}

{% include "searchbox.html" %}

{% block sidebarlogo %}
<a href="{{ pathto('index') }}">
{%- if logo %}<img src="{{ pathto('_static/' + logo, 1) }}">{%- endif %}
</a>
{% endblock %}

0 comments on commit e27e3a9

Please sign in to comment.