aboutsummaryrefslogtreecommitdiff
path: root/templates/post.twig
diff options
context:
space:
mode:
Diffstat (limited to 'templates/post.twig')
-rw-r--r--templates/post.twig73
1 files changed, 0 insertions, 73 deletions
diff --git a/templates/post.twig b/templates/post.twig
deleted file mode 100644
index 92e7d28..0000000
--- a/templates/post.twig
+++ /dev/null
@@ -1,73 +0,0 @@
1<!DOCTYPE html>
2<html lang="en">
3
4 <head>
5
6 <meta charset="utf-8">
7 <meta name="viewport" content="width=device-width, initial-scale=1.0">
8 <meta http-equiv="X-UA-Compatible" content="ie=edge">
9
10 <meta name="theme-color" content="#ffffff">
11 <meta name="generator" content="https://github.com/mitjafelicijan/staticgen">
12
13 {% include "partials/preconnect.twig" %}
14
15 <title>{{ options.title }}</title>
16 <meta name="author" content="{{ global.author }}">
17 <meta name="description" content="{{ options.description }}">
18
19 <meta property="og:title" content="{{ options.title }}">
20 <meta property="og:description" content="{{ options.description }}">
21 <meta property="og:url" content="{{ global.domain }}{{ options.slug }}">
22
23 <meta name="twitter:card" content="summary">
24 <meta name="twitter:site" content="{{ global.twitter }}">
25
26 <link rel="alternate" type="application/atom+xml" title="{{ global.author }}'s feed" href="/feed.atom">
27 <link rel="stylesheet" href="/static/style.css?v={{ " now"|date("YmdHi") }}">
28 <link rel="icon" type="image/png" href="/static/avatar-64x64.png?v={{ " now"|date("YmdHi") }}">
29
30 </head>
31
32 <body>
33
34 <main>
35
36 {% include "partials/navigation.twig" %}
37
38 <article>
39 <header>
40 <h1>{{ options.title }}</h1>
41 <div class="info">
42 <time datetime="{{ options.date|date(" Y, F j") }}">{{ options.date|date("Y, F j") }}</time>
43 <span>by {{ global.author }}</span>
44 </div>
45 </header>
46
47 {% if options.hide == 'true' %}
48 <div class="draft">Draft</div>
49 {% endif %}
50
51 {{ content }}
52
53 {#<div id="replybox"></div>
54 <script>
55 window.replybox = {
56 site: 'm6gBxwQnbM',
57 };
58 </script>
59 <script src="https://cdn.getreplybox.com/js/embed.js"></script>#}
60
61 </article>
62
63 </main>
64
65 <!-- code highlighting -->
66 {{ global.highlight }}
67
68 <!-- google analytics -->
69 {{ global.ga }}
70
71 </body>
72
73</html>