page layout will now accept pages without title metadata

source
Brandon Mathis 2011-08-14 17:47:46 -04:00
parent 0b77a38704
commit 33112a65a8
1 changed files with 2 additions and 0 deletions

View File

@ -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>