Browse Source

Adds article title in the <title>

Talha Mansoor 11 years ago
parent
commit
3391ae8a36
1 changed files with 4 additions and 0 deletions
  1. 4 0
      templates/article.html

+ 4 - 0
templates/article.html

@@ -1,5 +1,9 @@
 {% extends "base.html" %}
 {% extends "base.html" %}
 
 
+{% block title %}
+    {{ article.title }} - {{ super() }}
+{% endblock title %}
+
 {% block content %}
 {% block content %}
 {{ super() }}
 {{ super() }}
 {{ article.title }}
 {{ article.title }}