-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtag.hbs
More file actions
27 lines (23 loc) · 860 Bytes
/
tag.hbs
File metadata and controls
27 lines (23 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{{!< default}}
<section class="max-w-7xl mx-auto px-4 md:px-8 pt-16 pb-24">
<header class="mb-16 border-b border-border pb-12">
{{#tag}}
<h1 class="text-4xl font-extrabold tracking-tight md:text-5xl lg:text-6xl mb-4">{{name}}</h1>
<p class="text-xl max-w-2xl leading-relaxed">
{{#if description}}
{{description}}
{{else}}
A collection of {{plural ../pagination.total empty='zero posts' uint='one post' other='% posts'}}
{{/if}}
</p>
{{/tag}}
</header>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
{{#foreach posts}}
{{> "card"}}
{{/foreach}}
</div>
<div class="mt-16 flex justify-center">
{{pagination}}
</div>
</section>