{{!-- This is the post loop - each post will be output using this markup --}}
{{#foreach posts}}
<article class="{{post_class}}">
    <header class="post-header">
        <h2 class="post-title"><a href="{{url}}">{{title}}</a></h2>
    </header>

    {{#if image}}
      <a class="read-more" href="{{url}}">
        <section class="post-image" style="background-image: url('{{image}}')" alt="{{{title}}}"></section>
      </a>
    {{/if}}

    <section class="post-excerpt">
        <a class="read-more" href="{{url}}"><p>{{excerpt words="32"}} &raquo;</p></a>
    </section>

    <footer class="post-meta">
        {{tags prefix=" on "}}
        <time class="post-date" datetime="{{date format="YYYY-MM-DD HH:mm"}}">{{date format="HH:mm, DD MMMM YYYY"}}</time>
         {{author}}
    </footer>
</article>
{{/foreach}}

{{!-- This is the post loop - each post will be output using this markup --}}
{{#foreach posts}}
<article class="{{post_class}}">
    <header class="post-header">
        <h2 class="post-title"><a href="{{url}}">{{title}}</a></h2>
    </header>

    {{#if image}}
      <a class="read-more" href="{{url}}">
        <section class="post-image" style="background-image: url('{{image}}')" alt="{{{title}}}"></section>
      </a>
    {{/if}}

    <section class="post-excerpt">
        <a class="read-more" href="{{url}}"><p>{{excerpt words="32"}} &raquo;</p></a>
    </section>

    <footer class="post-meta">
        {{tags prefix=" on "}}
        <time class="post-date" datetime="{{date format="YYYY-MM-DD HH:mm"}}">{{date format="HH:mm, DD MMMM YYYY"}}</time>
        {{^if featured}}
          {{author}}
        {{/if}}
    </footer>
</article>
{{/foreach}}

Hide author on index for non-featured posts
Hide author on index for non-featured posts
