support columns, just like old front page
authorGreg Price <price@mit.edu>
Sat, 10 Jan 2009 01:21:53 +0000 (20:21 -0500)
committerGreg Price <price@mit.edu>
Sat, 10 Jan 2009 01:21:53 +0000 (20:21 -0500)
index.mdwn
templates/cols.mdwn [new file with mode: 0644]

index c2ce823f2356f62533571230b58ac55bc7dd22c9..685b3067e8948f3d8be7f4af00aecc31f301a2da 100644 (file)
@@ -4,7 +4,11 @@ The Student Information Processing Board (SIPB, pronounced sip-bee) is MIT's vol
 
 This site is a wiki.  Edit, be bold, start with the [[sandbox]] to play around.
 
 
 This site is a wiki.  Edit, be bold, start with the [[sandbox]] to play around.
 
-
+[[!template id=cols col1="""
+Left column.
+""" col2="""
+Right column.
+"""]]
 
 ----
 
 
 ----
 
diff --git a/templates/cols.mdwn b/templates/cols.mdwn
new file mode 100644 (file)
index 0000000..beb5cd9
--- /dev/null
@@ -0,0 +1,7 @@
+<div class="col1">
+<TMPL_VAR col1>
+</div>
+
+<div class="col2">
+<TMPL_VAR col2>
+</div>