2019-04-14 18:41:25 +00:00
|
|
|
{{!--
|
|
|
|
This template is used for the tag page.
|
|
|
|
--}}
|
|
|
|
|
2020-07-02 20:23:00 +00:00
|
|
|
{{!-- This block loads specific styles for the tag page --}}
|
|
|
|
{{#contentFor "styles"}}
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{asset "css/listing.css"}}" media="screen" />
|
|
|
|
{{/contentFor}}
|
|
|
|
|
2019-04-14 18:41:25 +00:00
|
|
|
{{!-- The tag below means: insert everything in this file
|
|
|
|
into the {body} of the default.hbs template --}}
|
2019-02-24 23:02:40 +00:00
|
|
|
{{!< default}}
|
|
|
|
|
2019-03-08 09:47:48 +00:00
|
|
|
<div class="main-wrap">
|
2019-04-14 18:41:25 +00:00
|
|
|
{{!-- Everything inside the #tag tags pulls data from the tag --}}
|
2019-03-08 09:47:48 +00:00
|
|
|
{{#tag}}
|
2020-02-25 16:10:57 +00:00
|
|
|
{{!-- Special header.hbs partial to generate the <header> tag --}}
|
|
|
|
{{> header background=feature_image}}
|
|
|
|
{{!-- Inject styles of the hero image to make it responsive --}}
|
|
|
|
{{> hero background=feature_image}}
|
|
|
|
<div class="m-hero__content" data-aos="fade-down">
|
|
|
|
<h1 class="m-hero-title bigger">{{name}}</h1>
|
2020-04-30 18:01:08 +00:00
|
|
|
{{#if description}}
|
|
|
|
<p class="m-hero-description">
|
|
|
|
{{description}}
|
|
|
|
</p>
|
|
|
|
{{/if}}
|
2020-04-30 17:57:14 +00:00
|
|
|
<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>
|
2020-02-25 16:10:57 +00:00
|
|
|
</div>
|
|
|
|
</section>
|
2019-03-08 09:47:48 +00:00
|
|
|
{{/tag}}
|
|
|
|
|
2019-03-12 10:39:01 +00:00
|
|
|
<main>
|
|
|
|
<div class="l-content">
|
2019-03-08 09:47:48 +00:00
|
|
|
<div class="l-wrapper" data-aos="fade-up" data-aos-delay="300">
|
2019-03-12 10:39:01 +00:00
|
|
|
<div class="l-grid centered">
|
2019-04-14 18:41:25 +00:00
|
|
|
{{!-- The tag below iterates over all the posts --}}
|
2019-03-08 09:47:48 +00:00
|
|
|
{{> "loop"}}
|
2019-03-12 10:39:01 +00:00
|
|
|
</div>
|
2019-03-08 09:47:48 +00:00
|
|
|
</div>
|
2019-04-14 18:41:25 +00:00
|
|
|
{{!-- Links to Previous/Next posts --}}
|
2019-03-08 09:47:48 +00:00
|
|
|
{{pagination}}
|
2019-03-12 10:39:01 +00:00
|
|
|
</div>
|
2019-03-08 09:47:48 +00:00
|
|
|
</main>
|
|
|
|
</div>
|