Moved some post partials into source/_includes/post/ and updated include
links
This commit is contained in:
parent
87f300b2bc
commit
8d3e0b4a0e
|
@ -6,11 +6,9 @@
|
|||
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
|
||||
{% endif %}
|
||||
{% unless page.no_meta %}
|
||||
<p class="meta">{% include post_date.html %}</p>
|
||||
<p class="meta">{% include post/date.html %}</p>
|
||||
{% endunless %}
|
||||
</header>
|
||||
{% if index %}
|
||||
{% endif %}
|
||||
{% endunless %}
|
||||
{% if index %}
|
||||
<div class="entry-content">{{ content | exerpt | smart_quotes }}</div>
|
||||
|
|
|
@ -6,18 +6,18 @@ 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 %}
|
||||
{% unless page.no_meta or !index %}<p class="meta">{% include post/date.html %}</p>{% endunless %}
|
||||
</header>
|
||||
{{ content | smart_quotes }}
|
||||
{% unless page.no_footer %}
|
||||
<footer>
|
||||
{% if page.date %}
|
||||
<p class="meta">
|
||||
{% include post_date.html %}
|
||||
{% include post/date.html %}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% unless page.no_sharing %}
|
||||
{% include sharing.html %}
|
||||
{% include post/sharing.html %}
|
||||
{% endunless %}
|
||||
</footer>
|
||||
{% endunless %}
|
||||
|
@ -25,7 +25,7 @@ layout: default
|
|||
{% if site.disqus_short_name and page.comments == true %}
|
||||
<section>
|
||||
<h1>Comments</h1>
|
||||
<div id="disqus_thread">{% include disqus_thread.html %}</div>
|
||||
<div id="disqus_thread">{% include post/disqus_thread.html %}</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
@ -8,19 +8,19 @@ single: true
|
|||
{% include article.html %}
|
||||
<footer>
|
||||
<p class="meta">
|
||||
{% include post_author.html %}
|
||||
{% include post_date.html %}
|
||||
{% include post_categories.html %}
|
||||
{% include post/author.html %}
|
||||
{% include post/date.html %}
|
||||
{% include post/categories.html %}
|
||||
</p>
|
||||
{% unless page.no_sharing %}
|
||||
{% include sharing.html %}
|
||||
{% include post/sharing.html %}
|
||||
{% endunless %}
|
||||
</footer>
|
||||
</article>
|
||||
{% if site.disqus_short_name and page.no_comments != true %}
|
||||
<section>
|
||||
<h1>Comments</h1>
|
||||
<div id="disqus_thread">{% include disqus_thread.html %}</div>
|
||||
<div id="disqus_thread">{% include post/disqus_thread.html %}</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue