diff options
| author | Josh <[email protected]> | 2020-08-31 16:27:32 +1000 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-12-18 21:18:58 -0500 |
| commit | 4b82785e107d1d1eed9943173ea13df3a2a4ee2d (patch) | |
| tree | 3565b34caf4c0ab40a809c11e5588e396f63f65c /docs/_templates/layout.html | |
| parent | [matrix] Fix JS errors on search results page (diff) | |
| download | discord.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.html | 2 |
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> |