mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-10-31 18:36:31 +00:00
5487b4da8d
refs https://github.com/TryGhost/Ghost/issues/8348 - `profile_image` && `cover_image` for author and fallback - `feature_image` for tag/post
26 lines
955 B
Handlebars
26 lines
955 B
Handlebars
{{!-- Previous/next page links - only displayed on page 2+ --}}
|
|
<div class="extra-pagination inner">
|
|
{{pagination}}
|
|
</div>
|
|
|
|
{{!-- 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>
|
|
<section class="post-excerpt">
|
|
<p>{{excerpt words="26"}} <a class="read-more" href="{{url}}">»</a></p>
|
|
</section>
|
|
<footer class="post-meta">
|
|
{{#if author.profile_image}}<img class="author-thumb" src="{{author.profile_image}}" alt="{{author.name}}" nopin="nopin" />{{/if}}
|
|
{{author}}
|
|
{{tags prefix=" on "}}
|
|
<time class="post-date" datetime="{{date format="YYYY-MM-DD"}}">{{date format="DD MMMM YYYY"}}</time>
|
|
</footer>
|
|
</article>
|
|
{{/foreach}}
|
|
|
|
{{!-- Previous/next page links - displayed on every page --}}
|
|
{{pagination}}
|