This repository has been archived by the owner on Apr 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpost.hbs
51 lines (47 loc) · 1.48 KB
/
post.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}}
<main>
{{#post}}
<header class="page-header article"
style="background: linear-gradient(to top, rgba(0,0,0,0.4), rgba(0,0,0,0.3)), url({{feature_image}}) no-repeat center / cover, #111111">
<div class="content container">
<div class="meta">
<span class="date">{{date format="D. MMMM YYYY"}}</span>
{{#primary_tag}}
<span class="category">
<a href="{{url}}">
{{name}}
</a>
</span>
{{/primary_tag}}
<span class="readingtime">{{reading_time minute="Nur eine Minute Lesezeit" minutes="% Minuten Lesezeit"}}</span>
</div>
<h1 class="headline">{{title}}</h1>
{{#if authors}}
<div class="authors">
von {{authors separator=" & "}}
</div>
{{/if}}
</div>
<figure class="wave"></figure>
</header>
<section class="article container">
<div class="content">
{{content}}
</div>
</section>
</main>
<aside class="post-suggestions">
<div class="container">
{{#next_post}}
{{> "next-post"}}
{{/next_post}}
{{#prev_post}}
{{> "next-post"}}
{{/prev_post}}
</div>
</aside>
{{/post}}
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<script>
AOS.init();
</script>