aboutsummaryrefslogtreecommitdiffstats
path: root/template.html
diff options
context:
space:
mode:
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>