Add description to tag pages (#174)
This commit is contained in:
parent
2f3410a0e2
commit
d08b96a074
13
tag.hbs
13
tag.hbs
|
@ -15,9 +15,18 @@ into the {body} of the default.hbs template --}}
|
|||
{{> hero background=feature_image}}
|
||||
<div class="m-hero__content" data-aos="fade-down">
|
||||
<h1 class="m-hero-title bigger">{{name}}</h1>
|
||||
<p class="m-heading__description">
|
||||
{{plural ../pagination.total empty=(t "No posts") singular=(t "1 post") plural=(t "% posts")}} {{t "with this tag"}}
|
||||
{{#if description}}
|
||||
<p class="m-hero-description">
|
||||
{{description}}
|
||||
</p>
|
||||
{{/if}}
|
||||
<div class="m-hero__meta">
|
||||
<ul class="m-hero-stats">
|
||||
<li>
|
||||
{{plural ../pagination.total empty=(t "No posts") singular=(t "1 post") plural=(t "% posts")}} {{t "with this tag"}}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{/tag}}
|
||||
|
|
Loading…
Reference in a new issue