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>
|
<div>
|
||||||
<article>
|
<article>
|
||||||
|
{% if page.title %}
|
||||||
<header>
|
<header>
|
||||||
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
|
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
|
||||||
{% if page.date %}<p class="meta">{% include post/date.html %}</p>{% endif %}
|
{% if page.date %}<p class="meta">{% include post/date.html %}</p>{% endif %}
|
||||||
</header>
|
</header>
|
||||||
|
{% endif %}
|
||||||
{{ content }}
|
{{ content }}
|
||||||
{% unless page.footer == false %}
|
{% unless page.footer == false %}
|
||||||
<footer>
|
<footer>
|
||||||
|
|
Loading…
Reference in New Issue