aboutsummaryrefslogtreecommitdiffstats
path: root/template.html
diff options
context:
space:
mode:
Diffstat (limited to 'template.html')
-rw-r--r--template.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/template.html b/template.html
new file mode 100644
index 0000000..7dcbf5b
--- /dev/null
+++ b/template.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Docs</title>
+ <link rel="stylesheet" href="{{.StylesheetUrl}}" />
+ <meta charset="UTF-8">
+ <meta name="author" content="Eduardo Pedroni">
+ </head>
+ <body>
+ <header>{{.SiteTitle}}</header>
+ <nav>
+ <ul>
+ {{range .Pages}}
+ <li>
+ <a href="{{.PageUrl}}">{{.PageName}}</a>
+ </li>
+ {{end}}
+ </ul>
+ </nav>
+ <main>
+ {{range .Entries}}
+ <article>
+ {{.Content}}
+ </article>
+ {{end}}
+ </main>
+ </body>
+</html>