blob: 16377d27f1b59ee1ab0846434b86d9ea9ffb6235 (
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
|
<!DOCTYPE HTML>
<html>
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Space+Grotesk:wght@300..700&display=swap" rel="stylesheet">
<link href="/static/common.css" rel="stylesheet" />
<script src="/static/common.js"></script>
</head>
<body class="dark">
<div id="menu" class="dark">
<div class="control">
<a href="/">
<img id="homeIcon" src="/static/home.svg" height="40px" width="40px">
</a>
<button class="toggleBtn" onclick="ToggleMode()">
<img id="toggleIcon" src="/static/toggle_dark.svg" height="48px" width="48px">
</button>
</div>
<h2> Recent articles </h2>
<ul class="articleList dark">
{{ range .LastArticles}}
<li> <a href="/articles/{{ .URL }}"> {{ .DisplayName }} </a> </li>
{{ end }}
</ul>
<hr />
<h2> Related tags </h2>
<ul class="articleList dark">
{{ range .Tags}}
<li> <a> {{ .Name }} </a> </li>
{{ end }}
</ul>
</div>
<div id="content" class="dark">
{{.Content}}
</div>
</body>
<script>
deleteTrailingSpaces();
setMode();
</script>
</html>
|