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:
Leo Shaw 2015-11-27 11:44:58 +00:00
parent 012d42db6a
commit 3a5fd41b31

View File

@ -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 #}