Show the reading time separate only if it exists
This commit is contained in:
parent
cfd767be88
commit
7a86c6fd92
1 changed files with 3 additions and 1 deletions
2
post.hbs
2
post.hbs
|
@ -50,7 +50,9 @@ into the {body} tag of the default.hbs template --}}
|
|||
<h4 class="author-name">{{authors}}</h4>
|
||||
<div class="byline-meta-content">
|
||||
<time class="byline-meta-date" datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time>
|
||||
{{#if reading_time}}
|
||||
<span class="byline-reading-time"><span class="bull">•</span> {{reading_time}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue