layout: default
{{ content }}
<div class=“posts”>
{%- if paginator -%} {%- assign posts = paginator.posts -%} {%- else -%} {%- assign posts = site.posts -%} {%- endif -%} {% for post in posts %} <section class="post post-card"> <h2 class="post-title"> <a href="{{ post.url | relative_url }}"> {{ post.title }} </a> </h2> <div class="post-meta"> <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time> {%- if jekyll.environment == "production" and site.disqus and post.comments != false -%} <span> • </span> <a class="comment-count" href="{{ post.url | relative_url }}#disqus_thread"> <span class="disqus-comment-count" data-disqus-url="{{ post.url | absolute_url }}"></span> </a> {%- endif -%} </div> <p> {% if post.description %} {{ post.description }} {% else %} {{ post.excerpt | strip_html }} {% endif %} </p> </section> {% endfor %}
</div>
{%- if jekyll.environment == “production” and site.disqus -%}
<script id="dsq-count-scr" src="//{{ site.disqus }}.disqus.com/count.js" async></script>
{%- endif -%}
{% if paginator %} <div class=“pagination”>
{% if paginator.next_page %} <a class="pagination-item older" href="{{ paginator.next_page_path | relative_url }}">Older</a> {% else %} <span class="pagination-item older">Older</span> {% endif %} {% if paginator.previous_page %} <a class="pagination-item newer" href="{{ paginator.previous_page_path | prepend: relative_url }}">Newer</a> {% else %} <span class="pagination-item newer">Newer</span> {% endif %}
</div> {% endif %}