b2f55c835d06

More cleanup.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 16 Dec 2009 19:56:37 -0500
parents 6ece8433ba1e
children 87f3757e1b2e
branches/tags (none)
files layout/_post.html layout/skeleton/_base.html layout/skeleton/_body.html layout/skeleton/_footer.html layout/skeleton/_header.html layout/skeleton/_innerindex.html layout/skeleton/_innerlisting.html

Changes

--- a/layout/_post.html	Wed Dec 16 19:50:50 2009 -0500
+++ b/layout/_post.html	Wed Dec 16 19:56:37 2009 -0500
@@ -6,7 +6,7 @@
             {% markdown %}
                 {% article %}
                     {% block article %}{% endblock %}
-                {% endarticle %}    
+                {% endarticle %}
             {% endmarkdown %}
         {% endfilter %}
     </div>
--- a/layout/skeleton/_base.html	Wed Dec 16 19:50:50 2009 -0500
+++ b/layout/skeleton/_base.html	Wed Dec 16 19:56:37 2009 -0500
@@ -8,14 +8,18 @@
     <head>
         <meta http-equiv="content-type" content="text/html; charset=utf-8">
         
-        <title>{% block title %}{{site.name}} / {{ page.title }}{% endblock %}</title>
+        <title>{% block title %}{{ site.name }} / {{ page.title }}{% endblock %}</title>
         
         {% block feeds %}
-            <link href="{{site.url}}/blog/atom.xml" rel="alternate" title="{{site.name}}" type="application/atom+xml"/>
+            <link href="{{ site.url }}/blog/atom.xml"
+                  rel="alternate" title="{{ site.name }}"
+                  type="application/atom+xml" />
         {% endblock %}
         
         {% block css %}
-            <link rel="stylesheet" href="{{site.url}}/media/css/base.css" type="text/css" media="screen" charset="utf-8">
+            <link rel="stylesheet"
+                  href="{{ site.url }}/media/css/base.css"
+                  type="text/css" media="screen" charset="utf-8" />
             {% block extra_css %}{% endblock %}
         {% endblock %}
         
@@ -27,6 +31,7 @@
     
     <body>
         {% include "skeleton/_header.html" %}
+        
         <div id="content">
             {% block content %}{% endblock %}
         </div>
--- a/layout/skeleton/_body.html	Wed Dec 16 19:50:50 2009 -0500
+++ b/layout/skeleton/_body.html	Wed Dec 16 19:56:37 2009 -0500
@@ -6,15 +6,15 @@
     {% block nav %}
         <div id="nav">
             <ul>
-                <a href="{{site.listing_url}}">
+                <a href="{{ site.listing_url }}">
                     <li{% ifequal page.module site.module %} class="home-selected" {% endifequal %}>
                         Home
                     </li>
                 </a>
                 {% for module in site.children %}
-                    <a href="{{module.listing_url}}">
+                    <a href="{{ module.listing_url }}">
                         <li{% ifequal page.module module %} class="selected" {% endifequal %}>
-                            {{module.name|unslugify}}
+                            {{ module.name|unslugify }}
                         </li>
                     </a>
                 {% endfor %}
--- a/layout/skeleton/_footer.html	Wed Dec 16 19:50:50 2009 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<div id='footer'>
-    Copyright {{site.name}}.
-</div>
--- a/layout/skeleton/_header.html	Wed Dec 16 19:50:50 2009 -0500
+++ b/layout/skeleton/_header.html	Wed Dec 16 19:56:37 2009 -0500
@@ -1,5 +1,5 @@
 <div id="header">
-    <a href="{{site.listing_url}}">
-        <h1>{{site.name}}</h1>
+    <a href="{{ site.listing_url }}">
+        <h1>{{ site.name }}</h1>
     </a>
 </div>
--- a/layout/skeleton/_innerindex.html	Wed Dec 16 19:50:50 2009 -0500
+++ b/layout/skeleton/_innerindex.html	Wed Dec 16 19:56:37 2009 -0500
@@ -1,21 +1,27 @@
 {% extends "skeleton/_root.html" %}
 
 {% block all %}
-    {%spaceless%}
-        {% for list_page in node.pages %}
-            {% ifnotequal list_page node.listing_page %}
-                {% if not list_page.exclude %}
-                    <div class="article">
-                        <div class="title">
-                            {% with list_page.name_without_extension|remove_date_prefix|unslugify as default_title %}
-                                <h3><a href="{{list_page.url}}">{{list_page.title|default_if_none:default_title }}</a></h3>
-                                {% if list_page.created %}<span>{{list_page.created}}</span>{% endif %}
-                            {%endwith%}
-                        </div>
-                        {% render_article list_page %}
-                    </div>
-                {%endif%}
-            {% endifnotequal %}
-        {% endfor %}
-    {%endspaceless%}
+{%spaceless%}
+{% for list_page in node.pages %}
+    {% ifnotequal list_page node.listing_page %}
+        {% if not list_page.exclude %}
+            <div class="article">
+                <div class="title">
+                    {% with list_page.name_without_extension|remove_date_prefix|unslugify as default_title %}
+                        <h3>
+                            <a href="{{list_page.url}}">
+                                {{ list_page.title|default_if_none:default_title }}
+                            </a>
+                        </h3>
+                        {% if list_page.created %}
+                            <span>{{ list_page.created }}</span>
+                        {% endif %}
+                    {%endwith%}
+                </div>
+                {% render_article list_page %}
+            </div>
+        {%endif%}
+    {% endifnotequal %}
+{% endfor %}
+{%endspaceless%}
 {% endblock %}
\ No newline at end of file
--- a/layout/skeleton/_innerlisting.html	Wed Dec 16 19:50:50 2009 -0500
+++ b/layout/skeleton/_innerlisting.html	Wed Dec 16 19:56:37 2009 -0500
@@ -1,19 +1,21 @@
 {% extends "skeleton/_root.html" %}
 
 {% block all %}
-    {%spaceless%}
-        <ul id="archives">
-            {% for list_page in node.pages %}
-                {% ifnotequal list_page node.listing_page %}
-                    {% if not list_page.exclude %}
-                        <li class="archives">
-                            <a href="{{list_page.url}}">
-                                {% with list_page.name_without_extension|remove_date_prefix|unslugify as default_title %}{{list_page.title|default_if_none:default_title }}{%endwith%}
-                            </a>
-                        </li>
-                    {%endif%}
-                {% endifnotequal %}
-            {% endfor %}
-        </ul>
-    {%endspaceless%}
+{%spaceless%}
+<ul id="archives">
+    {% for list_page in node.pages %}
+        {% ifnotequal list_page node.listing_page %}
+            {% if not list_page.exclude %}
+                <li class="archives">
+                    <a href="{{ list_page.url }}">
+                        {% with list_page.name_without_extension|remove_date_prefix|unslugify as default_title %}
+                            {{ list_page.title|default_if_none:default_title }}
+                        {%endwith%}
+                    </a>
+                </li>
+            {%endif%}
+        {% endifnotequal %}
+    {% endfor %}
+</ul>
+{%endspaceless%}
 {% endblock %}
\ No newline at end of file