mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-06 17:54:14 -05:00
Merge pull request #1302 from ousttrue/doc/switch_for_rtd
rtdテンプレート向けの言語スイッチリンク
This commit is contained in:
commit
c21b8d76ff
8
docs/_templates/layout.html
vendored
8
docs/_templates/layout.html
vendored
|
|
@ -1,13 +1,11 @@
|
|||
{% extends "!layout.html" %}
|
||||
|
||||
{% block sidebarlogo %}
|
||||
<ul>
|
||||
{% block sidebartitle %}
|
||||
{%- if language != "en" %}
|
||||
<li><a href="{{ pathto('../en/', 1) }}{{ pathto(pagename, 0, '.') }}">English</a></li>
|
||||
<a href="{{ pathto('../en/', 1) }}{{ pathto(pagename, 0, '.') }}">English</a>
|
||||
{%- endif %}
|
||||
{%- if language != "ja" %}
|
||||
<li><a href="{{ pathto('../ja/', 1) }}{{ pathto(pagename, 0, '.') }}">日本語</a></li>
|
||||
<a href="{{ pathto('../ja/', 1) }}{{ pathto(pagename, 0, '.') }}">日本語</a>
|
||||
{%- endif %}
|
||||
</ul>
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
Loading…
Reference in New Issue
Block a user