-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathglossary.hbs
73 lines (63 loc) · 2.31 KB
/
glossary.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
{{!< default}}
<main class="site__content article">
<div class="section background-alternate print-padding-none">
<div class="container">
{{#tag}}
<h1 class="article__title js-nbsp">{{name}}</h1>
{{#if description}}
<p class="article__summary spacing-bottom-small js-nbsp">
{{description}}
</p>
{{/if}}
{{/tag}}
<ul class="list-unstyled list-inline spacing-bottom-none print-hidden">
<li>
<a href="#jazyky" class="label">Jazyky</a>
</li>
<li>
<a href="#frameworky" class="label">Frameworky</a>
</li>
<li>
<a href="#nastroje" class="label">Nástroje</a>
</li>
<li>
<a href="#testovani" class="label">Testování</a>
</li>
<li>
<a href="#no-code" class="label">No-code</a>
</li>
<li>
<a href="#graficky-design" class="label">Grafický design</a>
</li>
</ul>
</div>
</div>
<div class="section section--roomy-bottom print-padding-none">
<div class="container">
<div class="columns columns--4">
{{!
Loop through the original `posts` and group them.
Pagination of `posts` is made impossible in `routes.yaml`.
}}
{{>glossary-group slug="jazyky" name="Jazyky"}}
{{>glossary-group slug="frameworky" name="Frameworky"}}
{{>glossary-group slug="nastroje" name="Nástroje"}}
{{>glossary-group slug="testovani" name="Testování"}}
{{>glossary-group slug="no-code" name="No-code"}}
{{>glossary-group slug="graficky-design" name="Grafický design"}}
</div>
</div>
</div>
{{#get "posts"
filter="primary_tag:clanky"
include="authors,tags"
order="published_at DESC"
limit="3"
as |recent|
}}
{{#if recent}}
{{> "related-posts" posts=recent}}
{{/if}}
{{/get}}
</main>
{{> "footer"}}