Skip to content

Commit

Permalink
page layout will now accept pages without title metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
imathis committed Aug 14, 2011
1 parent 0b77a38 commit 33112a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .themes/classic/source/_layouts/page.html
Expand Up @@ -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>
Expand Down

0 comments on commit 33112a6

Please sign in to comment.