Improved variable names for setting footer, sharing, sidebar and metadata diesplay from page configurations

This commit is contained in:
Brandon Mathis
2011-07-18 16:59:59 -04:00
parent 0f2686eff7
commit 64b23d9f34
7 changed files with 13 additions and 12 deletions

View File

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