Quellcode durchsuchen

Shows subtext in the header if available

Talha Mansoor vor 11 Jahren
Ursprung
Commit
e062c1ee26
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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">