Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

page layout will now accept pages without title metadata

  • Loading branch information...
commit 65d262419429a3710ac99f7024163281080b550d 1 parent 15c89ef
@imathis imathis authored committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  .themes/classic/source/_layouts/page.html
View
2  .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>
Please sign in to comment.
Something went wrong with that request. Please try again.