aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-19 17:28:36 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-19 17:28:36 -0400
commit3f2855ac6ba9f623092e6658e4d465a425456c16 (patch)
treead3c2d8542a9181544d5687663b5eec64ebf9261
parent6006ac8a01d2538291f4834104a7ad62f7e92c23 (diff)
downloadmy_new_personal_website-3f2855ac6ba9f623092e6658e4d465a425456c16.tar.xz
my_new_personal_website-3f2855ac6ba9f623092e6658e4d465a425456c16.zip
fixed logic for showing dates on page layout
Diffstat (limited to '')
-rw-r--r--.themes/classic/source/_layouts/page.html8
1 files changed, 2 insertions, 6 deletions
diff --git a/.themes/classic/source/_layouts/page.html b/.themes/classic/source/_layouts/page.html
index 48dff5cb..07dd050d 100644
--- a/.themes/classic/source/_layouts/page.html
+++ b/.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 %}