diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-08-14 17:47:46 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-08-14 17:47:46 -0400 |
commit | 33112a65a8f3bc18843593386beaa3aaa3695f92 (patch) | |
tree | d5d6bfc270dfb6498e0f5416065012fd77c3b5dc | |
parent | 0b77a38704960399c41fd13857d77b327584d82f (diff) | |
download | my_new_personal_website-33112a65a8f3bc18843593386beaa3aaa3695f92.tar.xz my_new_personal_website-33112a65a8f3bc18843593386beaa3aaa3695f92.zip |
page layout will now accept pages without title metadata
-rw-r--r-- | .themes/classic/source/_layouts/page.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.themes/classic/source/_layouts/page.html b/.themes/classic/source/_layouts/page.html index 6710f8b1..08e056ec 100644 --- a/.themes/classic/source/_layouts/page.html +++ b/.themes/classic/source/_layouts/page.html @@ -4,10 +4,12 @@ layout: default <div> <article> + {% if page.title %} <header> <h1 class="entry-title">{{ page.title | titlecase }}</h1> {% if page.date %}<p class="meta">{% include post/date.html %}</p>{% endif %} </header> + {% endif %} {{ content }} {% unless page.footer == false %} <footer> |