summaryrefslogtreecommitdiff
path: root/layouts/_default/_markup
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/_markup')
-rw-r--r--layouts/_default/_markup/render-heading.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html
new file mode 100644
index 0000000..60e75b7
--- /dev/null
+++ b/layouts/_default/_markup/render-heading.html
@@ -0,0 +1,4 @@
+<h{{.Level}} {{with .Attributes.class}}class="{{.}}" {{end}}>
+ <!--Note to myself : If I want something to precede my titles, put something in the ""-->
+ <small>{{strings.Repeat (sub .Level 1) ""}}</small>{{.Text | safeHTML}}
+</h{{.Level}}>