Permalink
Browse files

page layout will now accept pages without title metadata

  • Loading branch information...
1 parent 15c89ef commit 65d262419429a3710ac99f7024163281080b550d @imathis imathis committed with Aug 14, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 .themes/classic/source/_layouts/page.html
@@ -4,10 +4,12 @@
<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>

0 comments on commit 65d2624

Please sign in to comment.