summary refs log tree commit diff stats
path: root/src/themes/serene/templates/_section_title.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/themes/serene/templates/_section_title.html')
-rw-r--r--src/themes/serene/templates/_section_title.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/themes/serene/templates/_section_title.html b/src/themes/serene/templates/_section_title.html
new file mode 100644
index 0000000..191e079
--- /dev/null
+++ b/src/themes/serene/templates/_section_title.html
@@ -0,0 +1,10 @@
+{% if section.extra.title or section.extra.subtitle %}
+<div class="section-title">
+  {% if section.extra.title %}
+  <h1>{{ section.extra.title }}</h1>
+  {% endif %}
+  {% if section.extra.subtitle %}
+  <p>{{ section.extra.subtitle }}</p>
+  {% endif %}
+</div>
+{% endif %}