summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-05-20 20:58:06 +0200
committerJonas Smedegaard <dr@jones.dk>2017-05-20 20:58:06 +0200
commitbd227ccf91d75f813074870a464a36ec922b0225 (patch)
treec2c8ac4b2806c462e2804c8cfe1c1f5ee8f620fc
parent2839156d9508750c7562dc9b570df5269e286131 (diff)
Add spacer div.
-rw-r--r--live/sidebar.mdwn1
-rw-r--r--templates/div.mdwn3
2 files changed, 4 insertions, 0 deletions
diff --git a/live/sidebar.mdwn b/live/sidebar.mdwn
index 005fe14..bff7a4a 100644
--- a/live/sidebar.mdwn
+++ b/live/sidebar.mdwn
@@ -1,3 +1,4 @@
+[[!template id=div class=spacer]]
[[!template id=container content=<<CONTAINER
[[!template id=column size=8 content=<<COLUMN
[[!template id=well content=<<WELL
diff --git a/templates/div.mdwn b/templates/div.mdwn
new file mode 100644
index 0000000..bd0ed18
--- /dev/null
+++ b/templates/div.mdwn
@@ -0,0 +1,3 @@
+<div<TMPL_IF name> id="<TMPL_VAR name>"</TMPL_IF><TMPL_IF class> class="<TMPL_VAR class>"</TMPL_IF>><TMPL_IF content>
+<TMPL_VAR content>
+</TMPL_IF></div>