mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-24 08:28:50 -05:00
fixed logic for showing dates on page layout
This commit is contained in:
parent
6006ac8a01
commit
3f2855ac6b
@ -6,16 +6,12 @@ layout: default
|
|||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
|
<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>
|
</header>
|
||||||
{{ content | smart_quotes }}
|
{{ content | smart_quotes }}
|
||||||
{% unless page.footer == false %}
|
{% unless page.footer == false %}
|
||||||
<footer>
|
<footer>
|
||||||
{% if page.date %}
|
{% if page.date %}<p class="meta">{% include post/date.html %}</p>{% endif %}
|
||||||
<p class="meta">
|
|
||||||
{% include post/date.html %}
|
|
||||||
</p>
|
|
||||||
{% endif %}
|
|
||||||
{% unless page.sharing == false %}
|
{% unless page.sharing == false %}
|
||||||
{% include post/sharing.html %}
|
{% include post/sharing.html %}
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
|
Loading…
Reference in New Issue
Block a user