aboutsummaryrefslogtreecommitdiff
path: root/template/post.html
diff options
context:
space:
mode:
Diffstat (limited to 'template/post.html')
-rwxr-xr-xtemplate/post.html76
1 files changed, 0 insertions, 76 deletions
diff --git a/template/post.html b/template/post.html
deleted file mode 100755
index 3ce5ff0..0000000
--- a/template/post.html
+++ /dev/null
@@ -1,76 +0,0 @@
1<!doctype html>
2<html lang="en">
3
4<head>
5 {{template "_meta.html"}}
6
7 <title>{{.Title}}</title>
8 <meta name="description" content="{{.Description}}">
9 <meta property="og:title" content="{{.Title}}">
10 <meta property="og:description" content="{{.Description}}">
11</head>
12
13<body>
14
15 {{template "_navigation.html"}}
16
17 <main class="wrapper">
18 <article itemtype="http://schema.org/Article">
19 <header>
20 <h1 itemtype="headline">{{.Title}}</h1>
21 {{if .Listing}}
22 <time>Published on {{.CreatedFormatted}}</time>
23 {{end}}
24 </header>
25 <div>
26 {{.Content}}
27 </div>
28 </article>
29
30 {{if .Listing}}
31
32 <hr class="top-margin">
33
34 <p class="top-margin">
35 <strong>Comment, contact:</strong> The easiest way to contact me is by writing me a message on <a href="https://t.me/mitjafelicijan" target="_blank">Telegram (https://t.me/mitjafelicijan)</a>.
36 </p>
37
38 <p>You can also just write me an email at <a href="mailto:m@mitjafelicijan.com">m@mitjafelicijan.com</a>.</p>
39
40 <hr class="top-margin">
41
42 {{if .Posts}}
43 <nav class="top-margin">
44 <h4>Read more from this site</h4>
45 {{range $index, $post := .Posts}}
46 {{if .Listing}}
47 {{if (lt $index 5)}}
48 <p>
49 <time>{{$post.CreatedFormatted}}</time><br>
50 <a href="/{{$post.Slug}}" title="{{$post.Title}}" itemprop="url">
51 {{$post.Title}}
52 </a>
53 </p>
54 {{end}}
55 {{end}}
56 {{end}}
57 </nav>
58 {{end}}
59
60 <hr class="top-margin">
61
62 {{template "openring-build.html"}}
63
64 {{end}}
65
66 </main>
67
68 {{template "_footer.html"}}
69
70 {{template "_includes.html"}}
71
72 {{template "_libraries.html"}}
73
74</body>
75
76</html> \ No newline at end of file