Browse Source

fixed logic for showing dates on page layout

unreleased_contents
Brandon Mathis 13 years ago
parent
commit
3f2855ac6b
  1. 8
      .themes/classic/source/_layouts/page.html

8
.themes/classic/source/_layouts/page.html

@ -6,16 +6,12 @@ layout: default
<article>
<header>
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
{% if page.meta == false or !page.date %}<p class="meta">{% include post/date.html %}</p>{% endif %}
{% if page.date %}<p class="meta">{% include post/date.html %}</p>{% endif %}
</header>
{{ content | smart_quotes }}
{% unless page.footer == false %}
<footer>
{% if page.date %}
<p class="meta">
{% include post/date.html %}
</p>
{% endif %}
{% if page.date %}<p class="meta">{% include post/date.html %}</p>{% endif %}
{% unless page.sharing == false %}
{% include post/sharing.html %}
{% endunless %}

Loading…
Cancel
Save