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