mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
[matrix] Display navbar links on mobile
This commit is contained in:
8
docs/_templates/layout.html
vendored
8
docs/_templates/layout.html
vendored
@ -9,6 +9,7 @@
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{{ pathto('_static/style.css', 1)|e }}" type="text/css" />
|
||||
<link rel="stylesheet" href="{{ pathto('_static/codeblocks.css', 1) }}" type="text/css" />
|
||||
<link rel="stylesheet" href="{{ pathto('_static/icons.css', 1)|e }}" type="text/css" />
|
||||
{%- block css %}
|
||||
{%- for css in css_files %}
|
||||
{%- if css|attr("filename") %}
|
||||
@ -58,9 +59,10 @@
|
||||
<header class="grid-item">
|
||||
<nav>
|
||||
<a href="{{ pathto(master_doc)|e }}" class="main-heading">discord.py</a>
|
||||
<a href="https://github.com/Rapptz/discord.py">GitHub</a>
|
||||
<a href="{{ discord_invite }}">{{ _('Discord') }}</a>
|
||||
<a href="{{ pathto('faq') }}">FAQ</a>
|
||||
<a href="https://github.com/Rapptz/discord.py" title="GitHub"><span class="material-icons custom-icons">github</span></a>
|
||||
<a href="{{ discord_invite }}" title="{{ _('Discord') }}"><span class="material-icons custom-icons">discord</span></a>
|
||||
<a href="{{ pathto('faq') }}" title="FAQ"><span class="material-icons">help_center</span></a>
|
||||
<a href="{{ pathto('search') }}" title="{{ _('Search') }}" class='mobile-only'><span class="material-icons">search</span></a>
|
||||
{#- If we have more links we can put them here #}
|
||||
</nav>
|
||||
</header>
|
||||
|
Reference in New Issue
Block a user