-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.twig
63 lines (48 loc) · 2.08 KB
/
post.twig
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
<link rel="stylesheet" href="{{ theme_url }}/css/style.css" type="text/css">
</head>
<body class="bg-dark text-light fs-5">
<!-- Heading -->
<div class="container-fluid bg-secondary py-3 -mb-5 text-light shadow-lg">
<div class="container">
<div class="row">
<div class="col-2 text-center">
<a href="/" class="text-light fw-bold"><img src="{{assets_url}}/oliver-lohse.png" class="img-fluid rounded" style="width: 80px;"></a>
</div>
<div class="col-10 my-auto">
<h1 class="text-light fw-bold">{{current_page.title}}</h1>
</div>
</div>
</div>
</div>
<!-- Content -->
<div class="container py-5">
<div class="row">
<div class="col-sm-4">
<img src="{{assets_url}}/{{meta.logo}}" class="img-fluid mb-3 rounded">
<!-- CTA -->
{% if current_page.meta.CTA %}
<br>
<div class="text-center"><a href="{{ current_page.meta.CTA.Link }}" target='new' class="btn btn-danger">{{ current_page.meta.CTA.Title }} »</a></div>
</p>
{% endif %}
<!-- CTA -->
</div>
<div class="col-sm-8">
<article>
<span class="lead">{{current_page.description|markdown}}</span>
{{content}}
<br><p>_____</p>
<p class="small"><span class="small">{{ config.theme_config.global_author }}</span></p>
</article>
</div>
</div>
</div>
</body>
</html>