-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.hbs
executable file
·73 lines (62 loc) · 1.81 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
{{! Front page; this file renders a front page with a list of the latest posts }}
{{> head}}
{{> navbar}}
{{! Portfolio }}
<div class="uk-section">
<a id="portfolio"></a>
<div
class="uk-container uk-dark"
uk-scrollspy="cls: uk-animation-slide-right"
>
<h2 class="uk-heading-divider uk-text-center">Portfolio</h2>
{{> portfolio [email protected]}}
</div>
</div>
{{! /Portfolio }}
{{! Featured posts }}
<div class="uk-section uk-padding-small">
<a id="readings"></a>
<div class="uk-container uk-dark" uk-scrollspy="cls: uk-animation-slide-right">
<h2 class="uk-heading-divider uk-text-center">Featured readings</h2>
{{> readings posts=posts featuredOnly=true }}
{{#getPostByTags "post-index" ""}}
<div class="uk-margin uk-flex uk-flex-right">
<div>
<a class="uk-button uk-button-text" href="{{url}}">Show all articles</a>
</div>
</div>
{{/getPostByTags}}
</div>
</div>
{{! /Featured posts }}
{{! Hero }}
<div
class="uk-section uk-padding-small"
uk-scrollspy="cls: uk-animation-fade"
>
<a id="about-me"></a>
<div class="uk-container">
<div class="uk-grid uk-child-width-expand@s uk-flex-center uk-flex-middle" uk-grid>
<div uk-scrollspy="cls: uk-animation-slide-left; delay: 500">
<h2 class="uk-heading-divider">{{@config.custom.heroTitle}}</h2>
<div>{{{@config.custom.heroBody}}}</div>
{{#getAuthor 1}}
<a href="{{url}}" class="uk-button uk-button-text">Read more</a>
{{/getAuthor}}
</div>
<div>
<img
class="uk-align-center uk-object-contain"
width="600"
height="600"
alt=""
style="aspect-ratio: 1 / 1;"
src="{{asset "images/about-me-image.webp"}}" />
</div>
</div>
</div>
</div>
{{! /Hero }}
{{! Footer }}
{{> footer}}
{{! /Footer }}