Commit 788fee7
committed
fix: override correct tag
When the template was made responsive, the choice was made to override
the `body_tag` fragment.
The `body_tag` block is a literal `<body>` which allows the theme developer
to set properties on the `body` tag.
See: sphinx-doc/sphinx#4140
Instead, use the `document` block as documented.
https://www.sphinx-doc.org/en/master/development/templating.html#blocks
Overriding the correct block places the `mobile-nav` section _after_ the
majority of the other HTML parts, which enables the correct function of
the `/` keyboard shortcut.
Resolves #130
Closes #131
Closes #135
Signed-off-by: Mike Fiedler <miketheman@gmail.com>1 parent 44e62dd commit 788fee7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments