summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorVasudev Kamath <vasudev@copyninja.info>2017-05-07 19:58:39 +0530
committerVasudev Kamath <vasudev@copyninja.info>2017-05-07 19:58:39 +0530
commit7c08afd343e19c35151fc614611151033b7f2ad1 (patch)
tree786e0fc26bf70c193dd23412eedfa855a4622cce /templates/base.html
parent073089162f8be3d6eb77d471055fcce3773f0b39 (diff)
More fine tuning of template
Allow smooth navigation and move redundant information to base.html.
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html17
1 files changed, 12 insertions, 5 deletions
diff --git a/templates/base.html b/templates/base.html
index 75ef425..e1dd592 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -36,11 +36,18 @@
</head>
<body>
- <div id="header" class="body">
- <div id="navigation">
- {% block menu %}
- {% endblock %}
- </div>
+ <div id="header" class="body">
+ <div id="navigation">
+ {% block home %}
+ {% endblock %}
+ {% block menu %}
+ {% for p in pages %}
+ | <a href="{{ SITEURL}}/{{p.url}}">{{p.title}}</a> |
+ {% endfor %}
+ | <a href="{{ SITEURL }}/categories.html">Categories</a> |
+ | <a href="{{ SITEURL }}/tags.html">Tags</a> |
+ {% endblock %}
+ </div>
{% block article %}
{% endblock %}
{% block page %}