blob: fe1197b60d8ea830808c5819bc5d7dc418036ac1 (
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
|
<!DOCTYPE html>
<html>
<head>
{{ partial "head.html" . }}
{{ partial "mathjax.html" . }}
<title>{{ .Title }} | {{ .Site.Title }}</title>
<style>
@media (prefers-color-scheme: dark) {
img {filter:invert(100%);max-width:100%;height:auto;}
}
</style>
</head>
<body>
{{ partial "navigation.html" . }}
<p>
Categories:
{{ $len := len .Params.categories }}
{{ $idx := 0 }}
{{ range sort .Params.categories }}
{{ $idx = add $idx 1 }}
{{ $url := replace . " " "-" | lower }}
<a href="/know/category/{{ $url }}/">{{ . }}</a>{{ if eq $idx $len }}.{{ else }},{{end}}
{{ end }}
</p>
{{ .Content }}
{{ partial "footer.html" . }}
</body>
</html>
|