aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source/_layouts/post.html
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-12 19:40:57 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-12 19:40:57 -0400
commit5d1d04c52c014171b911c3d7c23108e64f0ee9df (patch)
tree21a58dcdfb8def51d69d4f180fce134cf4ecc9ec /.themes/classic/source/_layouts/post.html
parent67c5edb2f6eb8747a659109fe160b4c54f6e2917 (diff)
downloadmy_new_personal_website-5d1d04c52c014171b911c3d7c23108e64f0ee9df.tar.xz
my_new_personal_website-5d1d04c52c014171b911c3d7c23108e64f0ee9df.zip
1. Made default layout more generic.
2. Added a page layout and improved html on post layout. 3. Improved flexibility of stylesheets for different layout types. 4. Collapsing sidebar now moves it to the bottom of the page and floats content into columns. 5. Improved sharing settings, added Google plus one.
Diffstat (limited to '.themes/classic/source/_layouts/post.html')
-rw-r--r--.themes/classic/source/_layouts/post.html14
1 files changed, 8 insertions, 6 deletions
diff --git a/.themes/classic/source/_layouts/post.html b/.themes/classic/source/_layouts/post.html
index 5f55e89f..1e35ac72 100644
--- a/.themes/classic/source/_layouts/post.html
+++ b/.themes/classic/source/_layouts/post.html
@@ -3,22 +3,24 @@ layout: default
single: true
---
+<div>
<article class="hentry">
{% include article.html %}
- {% unless page.no_meta %}
<footer>
<p class="meta">
{% include post_author.html %}
{% include post_date.html %}
{% include post_categories.html %}
- {% include sharing.html %}
</p>
+ {% unless page.no_sharing %}
+ {% include sharing.html %}
+ {% endunless %}
</footer>
- {% endunless %}
- {% if site.disqus_short_name %}
+</article>
+{% if site.disqus_short_name and page.no_comments != true %}
<section>
<h1>Comments</h1>
<div id="disqus_thread">{% include disqus_thread.html %}</div>
</section>
- {% endif %}
-</article>
+{% endif %}
+</div>