Browse Source

Moved some post partials into source/_includes/post/ and updated include

links
unreleased_contents
Brandon Mathis 13 years ago
parent
commit
8d3e0b4a0e
  1. 4
      .themes/classic/source/_includes/article.html
  2. 0
      .themes/classic/source/_includes/post/author.html
  3. 0
      .themes/classic/source/_includes/post/categories.html
  4. 0
      .themes/classic/source/_includes/post/date.html
  5. 0
      .themes/classic/source/_includes/post/disqus_thread.html
  6. 0
      .themes/classic/source/_includes/post/sharing.html
  7. 8
      .themes/classic/source/_layouts/page.html
  8. 10
      .themes/classic/source/_layouts/post.html

4
.themes/classic/source/_includes/article.html

@ -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>

0
.themes/classic/source/_includes/post_author.html → .themes/classic/source/_includes/post/author.html

0
.themes/classic/source/_includes/post_categories.html → .themes/classic/source/_includes/post/categories.html

0
.themes/classic/source/_includes/post_date.html → .themes/classic/source/_includes/post/date.html

0
.themes/classic/source/_includes/disqus_thread.html → .themes/classic/source/_includes/post/disqus_thread.html

0
.themes/classic/source/_includes/sharing.html → .themes/classic/source/_includes/post/sharing.html

8
.themes/classic/source/_layouts/page.html

@ -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>

10
.themes/classic/source/_layouts/post.html

@ -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…
Cancel
Save