aboutsummaryrefslogtreecommitdiff
path: root/source/_layouts/post.html
diff options
context:
space:
mode:
Diffstat (limited to 'source/_layouts/post.html')
-rw-r--r--source/_layouts/post.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/source/_layouts/post.html b/source/_layouts/post.html
new file mode 100644
index 00000000..b450681b
--- /dev/null
+++ b/source/_layouts/post.html
@@ -0,0 +1,43 @@
+---
+layout: default
+single: true
+---
+
+<div>
+<article class="hentry" role="article">
+ {% include article.html %}
+ <footer>
+ <p class="meta">
+ {% include post/author.html %}
+ {% include post/date.html %}{{ time }}{% if updated %} {{ updated }}{% endif %}
+ {% include post/categories.html %}
+ </p>
+ {% unless page.sharing == false %}
+ {% include post/sharing.html %}
+ {% endunless %}
+ <p class="meta">
+ {% if page.previous.url %}
+ <a class="basic-alignment left" href="{{page.previous.url}}" title="Previous Post: {{page.previous.title}}">&laquo; {{page.previous.title}}</a>
+ {% endif %}
+ {% if page.next.url %}
+ <a class="basic-alignment right" href="{{page.next.url}}" title="Next Post: {{page.next.title}}">{{page.next.title}} &raquo;</a>
+ {% endif %}
+ </p>
+ </footer>
+</article>
+{% if site.disqus_short_name and page.comments == true %}
+ <section>
+ <h1>Comments</h1>
+ <div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div>
+ </section>
+{% endif %}
+</div>
+{% unless page.sidebar == false %}
+<aside class="sidebar">
+ {% if site.post_asides.size %}
+ {% include_array post_asides %}
+ {% else %}
+ {% include_array default_asides %}
+ {% endif %}
+</aside>
+{% endunless %}