-
Notifications
You must be signed in to change notification settings - Fork 3
/
custom-glossary.hbs
89 lines (67 loc) · 2.22 KB
/
custom-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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{{!< default}}
<main class="site__content">
{{#post}}
<article class="article">
<header class="section background-alternate">
<div class="container container--article">
<div class="article__meta">
{{tags}}
</div>
<h1 class="article__title js-nbsp">{{title}}</h1>
<h2 class="article__summary js-nbsp">{{excerpt}}</h2>
</div>
</header>
<div class="section section--roomy-bottom">
<div class="container container--article">
<div class="editor js-nbsp js-external-links js-heading-anchors">
{{content}}
</div>
<hr />
<p class="text-small-block text-italic">
Poslední aktualizace:
<time datetime="{{date format="YYYY-MM-DD"}}">
{{date format="D. MMMM YYYY"}}
</time>
</p>
<hr class="print-hidden" />
{{> "share-and-comment"}}
</div>
</div>
</article>
{{^has tag="#no-bottom-ad"}}
{{> "bottom-ad"}}
{{/has}}
{{/post}}
{{#get "posts"
filter="primary_tag:clanky+tags:[{{post.tags}}]"
include="authors,tags"
order="published_at DESC"
limit="3"
as |related|
}}
{{#if related}}
{{> "related-posts"
posts=related
headline="Související články"
}}
{{/if}}
{{/get}}
</main>
{{> "footer"}}
{{#contentFor "styles"}}
{{> "external/prism-css"}}
{{/contentFor}}
{{#contentFor "scripts"}}
{{> "external/prism-js"}}
{{/contentFor}}
{{#contentFor "snippets"}}
<template id="snippet__newsletter-signup__template">
{{> "snippets/newsletter-signup"}}
</template>
<template id="snippet__post-box-ad__template">
{{> "snippets/post-box-ad"}}
</template>
<template id="snippet__post-breakout-ad__template">
{{> "snippets/post-breakout-ad"}}
</template>
{{/contentFor}}