templates cleaner and generation for all pages

This commit is contained in:
Rushabh Mehta
2012-05-08 16:06:44 +05:30
parent 5ab8163140
commit a933b632ad
8 changed files with 22 additions and 7 deletions

View File

@@ -95,7 +95,7 @@ def get_header():
return Template("""<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand">{{ brand }}</a>
<a class="brand" href="index.html">{{ brand }}</a>
<ul class="nav">
{% for page in top_bar_items %}
{% if not page.parent_label %}