changeset 252:3efd1dcf92c7

Refactor the block structure a bit, and convert the about page.
author Steve Losh <steve@stevelosh.com>
date Thu, 24 Sep 2009 17:30:51 -0400
parents aa50d84efca9
children fcf6b1564285
files .hgsubstate templates/base.html templates/frontpage.html
diffstat 3 files changed, 15 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Thu Sep 24 17:15:18 2009 -0400
+++ b/.hgsubstate	Thu Sep 24 17:30:51 2009 -0400
@@ -1,1 +1,1 @@
-55e3cb2573ebef737102d738fc6d741052e6c53c content
+914a04f4f87c8339c587fe6f810482529be31731 content
--- a/templates/base.html	Thu Sep 24 17:15:18 2009 -0400
+++ b/templates/base.html	Thu Sep 24 17:30:51 2009 -0400
@@ -35,13 +35,20 @@
         </form>
         
         <div id="content">
-
-            {% block content %}
-            
-                No content on this page yet.
-            
+            {% block main %}
+                <div class="row">
+                    <div class="col big">
+                        {% block content %}
+                            No content on this page yet.
+                        {% endblock %}
+                    </div>
+                    <div class="col">
+                        {% block sidebar %}
+                            No sidebar on this page yet.
+                        {% endblock %}
+                    </div>
+                </div>
             {% endblock %}
-
         </div>
         
         <div id="footer">
--- a/templates/frontpage.html	Thu Sep 24 17:15:18 2009 -0400
+++ b/templates/frontpage.html	Thu Sep 24 17:30:51 2009 -0400
@@ -1,6 +1,6 @@
 {% extends "base.html" %}
 
-{% block content %}
+{% block main %}
 
 <div class="row">
     <div class="col big">