diff options
author | Vasudev Kamath <vasudev@copyninja.info> | 2017-05-07 19:58:39 +0530 |
---|---|---|
committer | Vasudev Kamath <vasudev@copyninja.info> | 2017-05-07 19:58:39 +0530 |
commit | 7c08afd343e19c35151fc614611151033b7f2ad1 (patch) | |
tree | 786e0fc26bf70c193dd23412eedfa855a4622cce /templates/article.html | |
parent | 073089162f8be3d6eb77d471055fcce3773f0b39 (diff) |
More fine tuning of template
Allow smooth navigation and move redundant information to base.html.
Diffstat (limited to 'templates/article.html')
-rw-r--r-- | templates/article.html | 8 |
1 files changed, 2 insertions, 6 deletions
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 %} - | <a href="{{ SITEURL }}">Home</a> | - {% for p in PAGES %} - | <a href="{{ SITEURL}}/{{p.url}}">{{p.title}}</a> | - {% endfor %} -{% endblock %} +{% block title %} {{ article.title}} {%endblock title %} +{% block home %} | <a href="{{ SITEURL }}">Home</a> | {% endblock %} {% block article %} <h1><a href="{{ SITEURL }}/{{ article.url}}">{{ article.title |striptags }}</a></h1> |