Explorar el Código

Adds article title in the <title>

Talha Mansoor hace 11 años
padre
commit
3391ae8a36
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      templates/article.html

+ 4 - 0
templates/article.html

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