aboutsummaryrefslogtreecommitdiff
path: root/crumbs/templates/components/title_text.html
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2018-01-22 22:20:24 +0100
committerKatharina Fey <kookie@spacekookie.de>2018-01-22 22:20:24 +0100
commit7876c2efa6de701d951cfb07ebd70f1248893c0c (patch)
tree2ad33d28e124d866603a652482ccab7bc219074a /crumbs/templates/components/title_text.html
parent26f2dbad6fcecfc97b8e86cd5567076e2b31214e (diff)
Using the same components for title-text
Diffstat (limited to 'crumbs/templates/components/title_text.html')
-rw-r--r--crumbs/templates/components/title_text.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/crumbs/templates/components/title_text.html b/crumbs/templates/components/title_text.html
index a86a77d..e0fda8c 100644
--- a/crumbs/templates/components/title_text.html
+++ b/crumbs/templates/components/title_text.html
@@ -1,7 +1,13 @@
-<div class="page-title" title="Inconsolata is my favourite monospace font, after all...">
+<div class="{{ title_type }}" title="Inconsolata is my favourite monospace font, after all...">
+ {% if title_type == 'title' %}
+ <h1>
+ {% endif %}
<span id="t-color-red"><b># ~ </b></span>
<span id="t-color-org">Fun</span>
<span id="t-color-ylw">Memory</span>
<span id="t-color-grn">Violations</span>
<span class="cursor" id="cursor">&nbsp;▁</span>
+ {% if title_type == 'title' %}
+ </h1>
+ {% endif %}
</div>