summaryrefslogtreecommitdiff
path: root/_site_build/_layouts/post.html
blob: df0dcd02a53130243a217f188137d90fd99242f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
layout: default
---
<article>
  <header>
    <h1>{{ page.title }}</h1>
    <time datetime="{{ page.date | date: '%Y-%m-%d' }}" pubdate>{{ page.date | date: '%A' }} {{ page.date | ordinalize }} {{ page.date | date: '%B, %Y' }}</time>
    {% if site.generate_category_indexes and page.categories.size != 0 %}
    <span class="categories"> | Posted in {{ page.categories | category_links }}</span>
    {% endif %}
    {% if page.comments and site.disqus_shortname %}
    <span class="comment-count"> | <a href="{{ page.url }}#disqus_thread" data-disqus-identifier="{{ page.url }}">Comments</a></span>
    {% endif %}
    {% if site.social_buttons %}
      {% include social/buttons.html %}
    {% endif %}
  </header>
  {{ content }}
  <footer>
    {% if site.social_buttons %}
      {% include social/buttons.html %}
    {% endif %}
    <nav>
      <ul>
        {% if page.previous.url %}
        <li class="prev-article"><a href="{{ page.previous.url }}" target="_self" rel="prev bookmark" title="{{ page.previous.title }}">&laquo; {{ page.previous.title }}</a></li>
        {% endif %}
        {% if page.next.url %}
        <li class="next-article"><a href="{{ page.next.url }}" target="_self" rel="next bookmark" title="{{ page.next.title }}">{{ page.next.title }} &raquo;</a></li>
        {% endif %}
      </ul>
    </nav>
  </footer>
  {% if page.comments and site.disqus_shortname %}
  <aside>
  <div id="disqus_thread"></div>
  <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
  <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
  </aside>
  {% endif %}
</article>