-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag.hbs
51 lines (45 loc) · 1.58 KB
/
tag.hbs
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{{!< default}}
{{#tag}}
{{#if feature_image}}
<section class="gh-cover gh-outer">
<img
class="gh-cover-image"
srcset="{{img_url feature_image size="s"}} 300w,
{{img_url feature_image size="m"}} 720w,
{{img_url feature_image size="l"}} 960w,
{{img_url feature_image size="xl"}} 1200w,
{{img_url feature_image size="xxl"}} 2000w"
sizes="100vw"
src="{{img_url feature_image size="xl"}}"
alt="{{name}}"
>
<div class="gh-cover-content">
<h1 class="gh-cover-title">{{name}}</h1>
{{#if description}}
<p class="gh-cover-description">{{description}}</p>
{{/if}}
</div>
</section>
{{/if}}
{{/tag}}
<main class="gh-main gh-outer">
<div class="gh-inner">
{{#tag}}
{{#unless feature_image}}
<section class="gh-pagehead">
<h1 class="gh-pagehead-title">{{name}}</h1>
{{#if description}}
<div class="gh-pagehead-description">{{description}}</div>
{{/if}}
</section>
{{/unless}}
{{/tag}}
<div class="gh-topic gh-topic-grid">
<div class="gh-topic-content gh-feed">
{{#foreach posts limit="all"}}
{{> "loop-grid"}}
{{/foreach}}
</div>
</div>
</div>
</main>