aboutsummaryrefslogtreecommitdiff
path: root/docs/_templates/layout.html
diff options
context:
space:
mode:
authorJosh <[email protected]>2020-08-31 16:27:32 +1000
committerRapptz <[email protected]>2020-12-18 21:18:58 -0500
commit4b82785e107d1d1eed9943173ea13df3a2a4ee2d (patch)
tree3565b34caf4c0ab40a809c11e5588e396f63f65c /docs/_templates/layout.html
parent[matrix] Fix JS errors on search results page (diff)
downloaddiscord.py-4b82785e107d1d1eed9943173ea13df3a2a4ee2d.tar.xz
discord.py-4b82785e107d1d1eed9943173ea13df3a2a4ee2d.zip
[matrix] Hide hamburger menu on pages without sidebar
Diffstat (limited to 'docs/_templates/layout.html')
-rw-r--r--docs/_templates/layout.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index 1e7d343b..d4571f7c 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -102,9 +102,11 @@
</div>
{#- The sidebar component #}
<aside class="grid-item">
+ {%- if display_toc %}
<span id="hamburger-toggle">
<span class="material-icons">menu</span>
</span>
+ {%- endif %}
<span id="settings-toggle" class="settings" onclick="settingsModal.open();">
<span class="material-icons">settings</span>
</span>