blob: 3deff2456292b11734aca671e6efc303474c4f00 (
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
|
<!DOCTYPE html>
<html>
<head>
{{ partial "head.html" . }}
{{ partial "mathjax.html" . }}
<title>{{ .Title }} | {{ .Site.Title }}</title>
</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>
|