mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-02-12 01:40:53 +00:00
Improved variable names for setting footer, sharing, sidebar and metadata diesplay from page configurations
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user