Skip to content
Snippets Groups Projects
Commit 0d0b7d79 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Made navbar a template block

Make it easier to disable navbar when does not need it.
parent 2fa86917
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,9 @@ ...@@ -11,7 +11,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
</head> </head>
<body {% block body_attr %}{% endblock %}> <body {% block body_attr %}{% endblock %}>
{% block navbar %}
{% include "navbar.html" %} {% include "navbar.html" %}
{% endblock %}
<div class="wrapper"> <div class="wrapper">
{% block body %} {% block body %}
{% endblock %} {% endblock %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment