refactor base template

This commit is contained in:
Andrew Croce 2018-07-20 08:28:17 -04:00
parent 7e05b237ff
commit 7ed3d50c2e
3 changed files with 9 additions and 16 deletions

View File

@ -14,19 +14,20 @@
<link rel="icon" type="image/x-icon" href="/static/img/favicon.ico">
</head>
<body>
{% include 'navigation/topbar.html.to' %}
{% include 'header.html.to' %}
<div class='global-layout'>
{% include 'navigation/global_navigation.html.to' %}
<div class='panel-container'>
{% block sidenav %}{% end %}
<div class='global-panel-container'>
{% block sidenav %}{% end %}
{% block content %}
these are not the droids you are looking for
{% end %}
{% block content %}
these are not the droids you are looking for
{% end %}
</div>
</div>
{% include 'footer.html.to' %}
</body>
</html>

View File

@ -1,9 +1,5 @@
{% extends "base.html.to" %}
{% block sidenav %}
{% include 'nav-side.html.to' %}
{% end %}
{% block content %}
<main class="usa-section usa-content">

View File

@ -1,9 +1,5 @@
{% extends "base.html.to" %}
{% block sidenav %}
{% include 'nav-side.html.to' %}
{% end %}
{% block content %}