page layout will now accept pages without title metadata
This commit is contained in:
parent
0b77a38704
commit
33112a65a8
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue