{% unless page.no_header %}
  <header>
    {% if index %}
      <h1 class="entry-title"><a href="{{ post.url }}">{{ post.title | titlecase }}</a></h1>
    {% else %}
      <h1 class="entry-title">{{ page.title | titlecase }}</h1>
    {% endif %}
    {% unless page.no_meta or !index %}<p class="meta">{% include post_date.html %}</p>{% endunless %}
  </header>
{% endunless %}
{% if index %}
  <div class="entry-content">{{ content | exerpt | smart_quotes }}</div>
  <p><a rel="full-article" href="{{ post.url }}">Read on &rarr;</a></p>
  <footer>
    <p class="meta">
      {% include post_author.html %}
      {% include post_date.html %}
      {% include post_categories.html %}
      <span class="comments"><a rel="comments" href="{{ post.url }}#disqus_thread">Comments</a></span>
      {% include sharing.html %}
    </p>
  </footer>
{% else %}
<div class="entry-content">{{ content | smart_quotes }}</div>
{% endif %}