Reorder hero on image variant
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
8
post.hbs
8
post.hbs
@@ -5,6 +5,10 @@
|
||||
<article class="gh-article {{post_class}}">
|
||||
|
||||
<header class="gh-article-header gh-canvas">
|
||||
{{#match @custom.mode "Image-based"}}
|
||||
{{> common/feature-image}}
|
||||
{{/match}}
|
||||
|
||||
<h1 class="gh-article-title">{{title}}</h1>
|
||||
|
||||
{{#if custom_excerpt}}
|
||||
@@ -16,10 +20,14 @@
|
||||
<a class="gh-article-tag" href="{{primary_tag.url}}">{{primary_tag.name}}</a>
|
||||
—
|
||||
{{/if}}
|
||||
<span>{{reading_time}}</span>
|
||||
—
|
||||
<time datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time>
|
||||
</span>
|
||||
|
||||
{{#match @custom.mode "Text-based"}}
|
||||
{{> common/feature-image}}
|
||||
{{/match}}
|
||||
</header>
|
||||
|
||||
<div class="gh-content gh-canvas">
|
||||
|
Reference in New Issue
Block a user