From 1c15fe67c72b4591feaceeffec0951e34a6c2e46 Mon Sep 17 00:00:00 2001 From: clsr Date: Fri, 18 Aug 2017 14:08:04 +0200 Subject: Initial commit --- templates/page.html | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 templates/page.html (limited to 'templates/page.html') diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..0f89e2d --- /dev/null +++ b/templates/page.html @@ -0,0 +1,112 @@ + + + + + + {{with .Doc.Title}}{{.}}{{else}} {{end}} + + + + {{if .Highlight}}{{end}} + + +
+ {{if .Browser -}} +
+ + +
+ {{- end}} + + {{with .Doc.Title}}

{{.}}

{{end -}} + + {{with .Doc.Links -}} + + {{- end -}} + + {{with .Site -}} + + {{- end -}} + + {{if .Toc.Children -}} + + {{- end}} +
+ +
+ {{- with .Doc.Content}} + {{- range .Children}} + {{- template "content.html" .}} + {{- end}}{{end}} +
+ + + + {{if .Highlight}} + {{end}} + + -- cgit