Add some extra blocks to lemoncurry/layout.html for overriding in special cases

This commit is contained in:
Danielle McLean 2018-04-26 13:47:05 +10:00
parent 8cbe51277e
commit 8c9977439e
Signed by untrusted user: 00dani
GPG key ID: 8EB789DDF3ABD240

View file

@ -46,7 +46,7 @@
integrity="sha384-slN8GvtUJGnv6ca26v8EzVaR9DC58QEwsIk9q1QXdCU8Yu8ck/tL/5szYlBbqmS+" crossorigin="anonymous"></script> integrity="sha384-slN8GvtUJGnv6ca26v8EzVaR9DC58QEwsIk9q1QXdCU8Yu8ck/tL/5szYlBbqmS+" crossorigin="anonymous"></script>
{% analytical_head_bottom %} {% analytical_head_bottom %}
</head> </head>
<body> <body{% block body_attr %}{% endblock %}>
{% analytical_body_top %} {% analytical_body_top %}
<header> <header>
<nav class="navbar navbar-expand-md navbar-dark"> <nav class="navbar navbar-expand-md navbar-dark">
@ -57,8 +57,8 @@
</button> </button>
<div class="collapse navbar-collapse" id="navbar"> <div class="collapse navbar-collapse" id="navbar">
{% nav_left request %} {% block nav_left %}{% nav_left request %}{% endblock %}
{% nav_right request %} {% block nav_right %}{% nav_right request %}{% endblock %}
</div> </div>
</nav> </nav>
{% if request.resolver_match.view_name %} {% if request.resolver_match.view_name %}