aboutsummaryrefslogtreecommitdiffstats
path: root/template.html
diff options
context:
space:
mode:
authorEddy Pedroni <eddy@0xf7.com>2020-01-28 22:06:16 +0100
committerEddy Pedroni <eddy@0xf7.com>2020-01-28 22:06:16 +0100
commit2c055e3ca001ee6064677a0db16172148e5edcef (patch)
tree46073b7ea2df58520ffc560af72ae2bdabf8bdd6 /template.html
parentce81b97e80ada42a223a7fd45c5abaa5c9667d75 (diff)
Added tentative page rendering, outline main function
Diffstat (limited to 'template.html')
-rw-r--r--template.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/template.html b/template.html
index 7dcbf5b..1e56d6f 100644
--- a/template.html
+++ b/template.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <title>Docs</title>
+ <title>{{.SiteTitle}} - Docs</title>
<link rel="stylesheet" href="{{.StylesheetUrl}}" />
<meta charset="UTF-8">
<meta name="author" content="Eduardo Pedroni">
@@ -10,17 +10,17 @@
<header>{{.SiteTitle}}</header>
<nav>
<ul>
- {{range .Pages}}
+ {{range .Nav}}
<li>
- <a href="{{.PageUrl}}">{{.PageName}}</a>
+ <a href="{{.AbsoluteUrl}}">{{.Text}}</a>
</li>
{{end}}
</ul>
</nav>
<main>
- {{range .Entries}}
+ {{range .Content}}
<article>
- {{.Content}}
+ {{.}}
</article>
{{end}}
</main>