mirror of
https://github.com/ZetaKebab/kesper.git
synced 2025-07-01 17:37:37 +00:00
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:
@ -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">
|
||||
|
Reference in New Issue
Block a user