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>
|
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% unless page.no_meta %}
|
{% unless page.no_meta %}
|
||||||
<p class="meta">{% include post_date.html %}</p>
|
<p class="meta">{% include post/date.html %}</p>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
</header>
|
</header>
|
||||||
{% if index %}
|
|
||||||
{% endif %}
|
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
{% if index %}
|
{% if index %}
|
||||||
<div class="entry-content">{{ content | exerpt | smart_quotes }}</div>
|
<div class="entry-content">{{ content | exerpt | smart_quotes }}</div>
|
||||||
|
@ -6,18 +6,18 @@ layout: default
|
|||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
|
<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>
|
</header>
|
||||||
{{ content | smart_quotes }}
|
{{ content | smart_quotes }}
|
||||||
{% unless page.no_footer %}
|
{% unless page.no_footer %}
|
||||||
<footer>
|
<footer>
|
||||||
{% if page.date %}
|
{% if page.date %}
|
||||||
<p class="meta">
|
<p class="meta">
|
||||||
{% include post_date.html %}
|
{% include post/date.html %}
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% unless page.no_sharing %}
|
{% unless page.no_sharing %}
|
||||||
{% include sharing.html %}
|
{% include post/sharing.html %}
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
</footer>
|
</footer>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
@ -25,7 +25,7 @@ layout: default
|
|||||||
{% if site.disqus_short_name and page.comments == true %}
|
{% if site.disqus_short_name and page.comments == true %}
|
||||||
<section>
|
<section>
|
||||||
<h1>Comments</h1>
|
<h1>Comments</h1>
|
||||||
<div id="disqus_thread">{% include disqus_thread.html %}</div>
|
<div id="disqus_thread">{% include post/disqus_thread.html %}</div>
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
@ -8,19 +8,19 @@ single: true
|
|||||||
{% include article.html %}
|
{% include article.html %}
|
||||||
<footer>
|
<footer>
|
||||||
<p class="meta">
|
<p class="meta">
|
||||||
{% include post_author.html %}
|
{% include post/author.html %}
|
||||||
{% include post_date.html %}
|
{% include post/date.html %}
|
||||||
{% include post_categories.html %}
|
{% include post/categories.html %}
|
||||||
</p>
|
</p>
|
||||||
{% unless page.no_sharing %}
|
{% unless page.no_sharing %}
|
||||||
{% include sharing.html %}
|
{% include post/sharing.html %}
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
{% if site.disqus_short_name and page.no_comments != true %}
|
{% if site.disqus_short_name and page.no_comments != true %}
|
||||||
<section>
|
<section>
|
||||||
<h1>Comments</h1>
|
<h1>Comments</h1>
|
||||||
<div id="disqus_thread">{% include disqus_thread.html %}</div>
|
<div id="disqus_thread">{% include post/disqus_thread.html %}</div>
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user