Browse code

page layout will now accept pages without title metadata

Brandon Mathis authored on 14/08/2011 at 21:47:46
Showing 1 changed files
... ...
@@ -4,10 +4,12 @@ layout: default
4 4
 
5 5
 <div>
6 6
 <article>
7
+  {% if page.title %}
7 8
   <header>
8 9
     <h1 class="entry-title">{{ page.title | titlecase }}</h1>
9 10
     {% if page.date %}<p class="meta">{% include post/date.html %}</p>{% endif %}
10 11
   </header>
12
+  {% endif %}
11 13
   {{ content }}
12 14
   {% unless page.footer == false %}
13 15
     <footer>