add logged out page and separate nav template

This commit is contained in:
Seth Ladygo
2019-03-12 17:49:18 -07:00
parent c56175835c
commit 626570ffe3
3 changed files with 11 additions and 3 deletions

View File

@ -9,9 +9,7 @@
</head> </head>
<body> <body>
{% block navigation %} {% block navigation %}
<div class="container navigation"> {% include "nav.html" %}
NAV
</div>
{% endblock%} {% endblock%}
{% block content %} {% block content %}

3
templates/nav.html Normal file
View File

@ -0,0 +1,3 @@
<div class="container navigation">
SEPARATE NAV for {{ user }}
</div>

View File

@ -0,0 +1,7 @@
{% extends 'base.html' %}
{% block title %}Logged out{% endblock %}
{% block content %}
<h2>Logged out</h2>
{% endblock %}