diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2014-10-20 16:38:24 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2014-10-20 16:38:24 -0700 |
commit | d139da3a3277f73d7f01e4283d8dc01630a5317c (patch) | |
tree | 5a58aeb89869f09cc48543c0540a1fbd4910040e /source/_layouts/post.html | |
parent | c434de5977c316c8406c00bb24221fa61ca8fe88 (diff) | |
download | my_new_personal_website-d139da3a3277f73d7f01e4283d8dc01630a5317c.tar.xz my_new_personal_website-d139da3a3277f73d7f01e4283d8dc01630a5317c.zip |
initial setup
Diffstat (limited to 'source/_layouts/post.html')
-rw-r--r-- | source/_layouts/post.html | 43 |
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}}">« {{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}} »</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 %} |