diff options
author | Eddy Pedroni <eddy@0xf7.com> | 2020-02-01 11:06:24 +0100 |
---|---|---|
committer | Eddy Pedroni <eddy@0xf7.com> | 2020-02-01 11:08:12 +0100 |
commit | 4bedcc88d171a0886a114c604a79155d088bdbeb (patch) | |
tree | 1d6b24ebd61e55371dbc8a1e0f862eae0efc3099 /template.go | |
parent | 5ec92205b871ede6ae4b8afc755efb7d06d1ffd9 (diff) |
Fixed URL generation, added nav list generation, added page generation
stub
Diffstat (limited to 'template.go')
-rw-r--r-- | template.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/template.go b/template.go new file mode 100644 index 0000000..ff69756 --- /dev/null +++ b/template.go @@ -0,0 +1,12 @@ +package main + +type templateData struct { + SiteTitle string + StylesheetUrl string + Nav []navItem + Content []string +} + +func generatePages(pages map[string]page, nav []navItem, cfg config) () { + +} |