edition/tag.hbs

32 lines
738 B
Handlebars
Raw Normal View History

2024-02-12 12:39:05 +00:00
{{!< default}}
<main class="site-main">
{{#tag}}
<section class="taxonomy">
{{#if feature_image}}
<div class="taxonomy-media u-placeholder square">
<img class="u-object-fit" src="{{img_url feature_image size="s"}}" alt="{{name}}">
</div>
{{/if}}
<header class="single-header gh-canvas">
<h1 class="single-title">{{name}}</h1>
{{#if description}}
<div class="single-excerpt">{{description}}</div>
{{/if}}
</header>
</section>
{{/tag}}
<div class="post-feed gh-feed gh-canvas">
{{#foreach posts}}
{{> "loop"}}
{{/foreach}}
</div>
{{pagination}}
</main>