diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-07-18 16:59:59 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-07-18 16:59:59 -0400 |
commit | 64b23d9f34f140b8e544960070525343dfe1273b (patch) | |
tree | a14bde5798b64f4d578439b4f38e1ee7f3b4643d /.themes/classic/source/_layouts/page.html | |
parent | 0f2686eff7f23a996a2a35f712079ea3ac971cd9 (diff) | |
download | my_new_personal_website-64b23d9f34f140b8e544960070525343dfe1273b.tar.xz my_new_personal_website-64b23d9f34f140b8e544960070525343dfe1273b.zip |
Improved variable names for setting footer, sharing, sidebar and metadata diesplay from page configurations
Diffstat (limited to '.themes/classic/source/_layouts/page.html')
-rw-r--r-- | .themes/classic/source/_layouts/page.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.themes/classic/source/_layouts/page.html b/.themes/classic/source/_layouts/page.html index fb51816f..48dff5cb 100644 --- a/.themes/classic/source/_layouts/page.html +++ b/.themes/classic/source/_layouts/page.html @@ -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> |