Bläddra i källkod

Makes heading of each page self referential

User can click on them to reload
Talha Mansoor 11 år sedan
förälder
incheckning
13c7669ec0
3 ändrade filer med 3 tillägg och 3 borttagningar
  1. 1 1
      templates/article.html
  2. 1 1
      templates/categories.html
  3. 1 1
      templates/tags.html

+ 1 - 1
templates/article.html

@@ -15,7 +15,7 @@
 </script>
 <div class="row-fluid">
     <header class="page_header span12">
-    <h1> {{ article.title }} <small> {%if article.subtext %} {{ article.subtext }} {% endif %} </small></h1>
+    <h1><a href="/{{ article.url }}"> {{ article.title }} {%if article.subtext %} <small> {{ article.subtext }} </small> {% endif %} </a></h1>
     </header>
 </div>
 

+ 1 - 1
templates/categories.html

@@ -14,7 +14,7 @@ All Categories - {{ super() }}
 </script>
 <div class="row-fluid">
     <header class="page_header span10 offset2">
-    <h1>All Categories</h1>
+    <h1><a href="/categories.html">All Categories</a></h1>
     </header>
 </div>
 

+ 1 - 1
templates/tags.html

@@ -51,7 +51,7 @@ All Tags - {{ super() }}
 
 <div class="row-fluid">
     <header class="page_header span10 offset2">
-    <h1>All Tags</h1>
+    <h1><a href="/tags.html">All Tags</a></h1>
     </header>
 </div>
 <div class="row-fluid">