aboutsummaryrefslogtreecommitdiffstats
path: root/template.html
diff options
context:
space:
mode:
authorEddy Pedroni <eddy@0xf7.com>2020-01-25 17:17:59 +0100
committerEddy Pedroni <eddy@0xf7.com>2020-01-25 17:17:59 +0100
commit282405f468f43c0a0b6fbffc57924e609c0cce36 (patch)
tree5c56ae4184787f660a269c7e2beaa799daec9efe /template.html
Initial commit, added HTML template and config file
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>