summaryrefslogtreecommitdiff
path: root/templates/shortcodes/title_bar.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shortcodes/title_bar.html')
-rw-r--r--templates/shortcodes/title_bar.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/shortcodes/title_bar.html b/templates/shortcodes/title_bar.html
new file mode 100644
index 0000000..facc6fb
--- /dev/null
+++ b/templates/shortcodes/title_bar.html
@@ -0,0 +1,8 @@
+<div class="title-bar">
+ <div class="title-bar-text">{{ body | safe }}</div>
+ <div class="title-bar-controls">
+ {% if close %}
+ <a href="{{ close }}"><button aria-label="Close"></button></a>
+ {% endif %}
+ </div>
+</div>