diff options
author | Katharina Fey <kookie@spacekookie.de> | 2018-01-22 21:12:21 +0100 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2018-01-22 21:12:21 +0100 |
commit | b664865f3a370ce1a998eb309e03023b0bb6cc4f (patch) | |
tree | 495ae843469720fe4bdb2cb312f23d7ab63f7eb9 /crumbs/templates/article_header.html | |
parent | 25fd8b3905c9b7d092281b481826a744c0dadd40 (diff) |
Refactoring the templates a bit. Fixing some bugs
Diffstat (limited to 'crumbs/templates/article_header.html')
-rw-r--r-- | crumbs/templates/article_header.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crumbs/templates/article_header.html b/crumbs/templates/article_header.html index 4f265b7..be8283f 100644 --- a/crumbs/templates/article_header.html +++ b/crumbs/templates/article_header.html @@ -2,8 +2,10 @@ <p>< Back</p> </div> --> -{% if in_article == true %} +{% if type == 'single' %} <h3 class="card-header-url"><a href="{{ SITEURL }}/{{ article.category|lower }}"> ⇠ Back</a></h3> +{% else %} +<h2 class="card-header-url"><b><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></b></h2> {% endif %} <div class="article-meta"> |