diff options
Diffstat (limited to 'layouts/know/know-list.html')
-rw-r--r-- | layouts/know/know-list.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/layouts/know/know-list.html b/layouts/know/know-list.html new file mode 100644 index 0000000..b1a8c33 --- /dev/null +++ b/layouts/know/know-list.html @@ -0,0 +1,32 @@ +<!DOCTYPE html> +<html> +<head> +{{ partial "head.html" . }} +<title>{{ .Title }} | {{ .Site.Title }}</title> +</head> +<body> +{{ partial "navigation.html" . }} +<h1>{{ .Title }}</h1> + +<div style="text-align:center;"> + - + {{ range .RegularPages.GroupByParam "firstLetter" }} + <a href="#{{ .Key }}">{{ .Key }}</a> + - + {{ end }} +</div> + +{{ .Content }} + +{{ range .RegularPages.GroupByParam "firstLetter" }} +<h2 id="{{ .Key }}">{{ .Key }}</h2> +<ul> + {{ range .Pages.ByTitle }} + <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> + {{ end }} +</ul> +{{ end }} + +{{ partial "footer.html" . }} +</body> +</html> |