From 7c08afd343e19c35151fc614611151033b7f2ad1 Mon Sep 17 00:00:00 2001 From: Vasudev Kamath Date: Sun, 7 May 2017 19:58:39 +0530 Subject: More fine tuning of template Allow smooth navigation and move redundant information to base.html. --- templates/article.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'templates/article.html') diff --git a/templates/article.html b/templates/article.html index 630323b..e00ffdc 100644 --- a/templates/article.html +++ b/templates/article.html @@ -1,10 +1,6 @@ {% extends "base.html" %} -{% block menu %} - | Home | - {% for p in PAGES %} - | {{p.title}} | - {% endfor %} -{% endblock %} +{% block title %} {{ article.title}} {%endblock title %} +{% block home %} | Home | {% endblock %} {% block article %}

{{ article.title |striptags }}

-- cgit v1.2.3