Theme helper blitz

- date no longer requires published_at
- author.name now works.. so using for consistency
- url has absolute flag
- other misc fixes
This commit is contained in:
Hannah Wolfe
2013-09-02 22:12:24 +01:00
parent dc89697827
commit 618eba0e2f
3 changed files with 11 additions and 11 deletions

View File

@ -20,11 +20,11 @@
{{! Each post will be output using this markup }}
{{#foreach posts}}
<article class="{{post_class}}">
<header class="post-header">
<span class="post-meta"><time datetime="{{date published_at format='YYYY-MM-DD'}}">{{date published_at format="DD MMM YYYY"}}</time> {{#if tags}}on {{tags}}{{/if}}</span>
<h2 class="post-title"><a href="/{{slug}}">{{title}}</a></h2>
<span class="post-meta"><time datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMM YYYY"}}</time> {{#if tags}}on {{tags}}{{/if}}</span>
<h2 class="post-title"><a href="{{url}}">{{title}}</a></h2>
</header>
<section class="post-excerpt">