-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.hbs
executable file
·98 lines (95 loc) · 4.3 KB
/
index.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{{!< default}} <div class="gh-outer">
<main class="site-main gh-inner">
{{#if @custom.show_featured_posts}}
{{> "featured-posts"}}
{{/if}}
<div class="topic-feed">
<section class="topic">
<header class="topic-header">
<h2 class="topic-name" id="work">
<a href="{{url}}/#work">Active engagements</a>
</h2>
</header>
{{#get "pages" order="published_at asc" filter="tag:active-engagement" limit="5" as |featured|}}
<ul class="topic-article-feed">
{{#foreach featured}}
<figure class="post-media">
<div class="u-placeholder same-height horizontal">
<a class="post-image-link" href="{{url}}">
{{#if feature_image}}
<img class="post-image u-object-fit" src="{{img_url feature_image size=" l"}}"
alt="{{title}}">
{{/if}}
</a>
</div>
</figure>
<li class="topic-article">
<h3 class="topic-article-title">
<a class="topic-article-link" href="{{url}}">
{{> "icons/chevron-right"}} {{title}}
</a>
</h3>
<small>{{tags}}</small>
</li>
{{/foreach}}
</ul>
{{/get}}
<a class="topic-more" href="{{url}}about">Show more →</a>
</section>
<section class="topic">
<header class="topic-header">
<h2 class="topic-name" id="work">
<a href="{{url}}/#work">From our work</a>
</h2>
</header>
{{#get "posts" order="published_at asc" filter="tag:magazine" limit="5" as |featured|}}
<ul class="topic-article-feed">
{{#foreach featured}}
<figure class="post-media">
<div class="u-placeholder same-height horizontal">
<a class="post-image-link" href="{{url}}">
{{#if feature_image}}
<img class="post-image u-object-fit" src="{{img_url feature_image size=" l"}}"
alt="{{title}}">
{{/if}}
</a>
</div>
</figure>
<li class="topic-article">
<h3 class="topic-article-title">
<a class="topic-article-link" href="{{url}}">
{{> "icons/chevron-right"}} {{title}}
</a>
</h3>
<small>{{tags}}</small>
</li>
{{/foreach}}
</ul>
{{/get}}
<a class="topic-more" href="{{url}}magazine">Show more →</a>
</section>
<section class="topic">
{{#get "posts" order="published_at asc" filter="tag:fieldnotes" limit="5" as |featured|}}
<header class="topic-header">
<h2 class="topic-name" id="fieldnotes">
<a href="{{url}}/#fieldnotes">Field notes</a>
</h2>
</header>
<ul class="topic-article-feed">
{{#foreach featured}}
<li class="topic-article">
<h3 class="topic-article-title">
<a class="topic-article-link" href="{{url}}">
{{> "icons/chevron-right"}} {{title}}
</a>
</h3>
<small>{{tags}}</small>
</li>
{{/foreach}}
</ul>
{{/get}}
<a class="topic-more" href="{{url}}fieldnotes">Show more →</a>
</section>
</div>
</main>
</div>