aboutsummaryrefslogtreecommitdiff
path: root/.themes
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-08-14 17:47:46 -0400
committerBrandon Mathis <brandon@imathis.com>2011-08-14 17:47:46 -0400
commit33112a65a8f3bc18843593386beaa3aaa3695f92 (patch)
treed5d6bfc270dfb6498e0f5416065012fd77c3b5dc /.themes
parent0b77a38704960399c41fd13857d77b327584d82f (diff)
downloadmy_new_personal_website-33112a65a8f3bc18843593386beaa3aaa3695f92.tar.xz
my_new_personal_website-33112a65a8f3bc18843593386beaa3aaa3695f92.zip
page layout will now accept pages without title metadata
Diffstat (limited to '.themes')
-rw-r--r--.themes/classic/source/_layouts/page.html2
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>