Просмотр исходного кода

Shows subtext in the header if available

Talha Mansoor лет назад: 11
Родитель
Сommit
e062c1ee26
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      templates/article.html

+ 1 - 1
templates/article.html

@@ -7,7 +7,7 @@ hell {{ article.title }} - {{ super() }}
 {% block content %}
 <div class="row-fluid">
     <header class="page_header span7 offset2">
-    <h1> {{ article.title }} </h1>
+    <h1> {{ article.title }} <small> {%if article.subtext %} {{ article.subtext }} {% endif %} </small></h1>
     </header>
 </div>
 <div class="row-fluid">