mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Add a body_begin block at the start of <body>
This makes it easy to add a cookie banner or similar at the top of the page, particularly when JS is disabled and you can't insert the banner dynamically.
This commit is contained in:
parent
012d42db6a
commit
3a5fd41b31
|
@ -81,6 +81,8 @@
|
||||||
|
|
||||||
<body class="wy-body-for-nav" role="document">
|
<body class="wy-body-for-nav" role="document">
|
||||||
|
|
||||||
|
{% block body_begin %}
|
||||||
|
{% endblock %}
|
||||||
<div class="wy-grid-for-nav">
|
<div class="wy-grid-for-nav">
|
||||||
|
|
||||||
{# SIDE NAV, TOGGLES ON MOBILE #}
|
{# SIDE NAV, TOGGLES ON MOBILE #}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user