blob: 9f0f6d0389f6201bbbb8825037589a7375f7acb1 (
plain)
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
|
<!DOCTYPE html>
<html lang='{{ page.lang }}'>
<head>
{% include head.html %}
<title>{{ site.title }}</title>
{% include opengraph.html %}
</head>
<body>
<div class='centeredPage'>
<div class='titleWrapper'>
<h1>{{ page.title }}</h1>
{% if page.subtitle %}<p class='subtile'>{{ page.subtitle }}</p>{% endif %}
{% if page.tags %}{% include tags.html tags=page.tags %}{% endif %}
</div>
<div class='navAreaWrapper'>
<div class='sticky'>
{% include navbar.html page="index" %}
<!-- <Chapters chapters={props.meta.chapters} /> -->
</div>
</div>
<!-- <MobileNavbar /> -->
<div class='contentWrapper'>
{{ content }}
{% if site.rss != nil %}
<p>An rss/atom feed of this blog is also available:</p>
<pre>{{ site.rss.url }}</pre>
{% endif %}
<hr/>
<h2>Recent posts</h2>
<div class="recentPosts">
{% for post in site.posts limit:4 %}
<div class="postCard">
<a href="{{ post.url }}">
<img src="{{ post.cover }}" alt="post cover" class="cover">
<h2 class="title">{{ post.title }}</h2>
<strong class="subtitle">{{ post.subtitle }}</strong>
</a>
{% include tags.html tags=post.tags %}
</div>
{% endfor %}
</div>
<div>
<a href="/search" class="button">Go to all posts</a>
</div>
</div>
</div>
</body>
</html>
|