delegate config to config.go
This commit is contained in:
parent
d83fe7af3a
commit
402caf195b
2 changed files with 8 additions and 9 deletions
8
config.go
Normal file
8
config.go
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
const SiteTitle = "kew example"
|
||||||
|
const FooterText = "made with <a href=\"https://github.com/uint23/kew\">kew</a>"
|
||||||
|
const TemplateFile = "template.html"
|
||||||
|
const NavDirSymbol = "/"
|
||||||
|
const NavFileSymbol = ": "
|
||||||
|
const NavCurrentSymbol = "@ "
|
||||||
9
kew.go
9
kew.go
|
|
@ -9,15 +9,6 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
/* TODO: config.h */
|
|
||||||
|
|
||||||
const SiteTitle = "mallocd.com"
|
|
||||||
const FooterText = "made with <a href=\"https://github.com/uint23/kew\">kew</a>"
|
|
||||||
const TemplateFile = "template.html"
|
|
||||||
const NavDirSymbol = "/"
|
|
||||||
const NavFileSymbol = ": "
|
|
||||||
const NavCurrentSymbol = "@ "
|
|
||||||
|
|
||||||
type NavNode struct {
|
type NavNode struct {
|
||||||
Name string
|
Name string
|
||||||
Path string
|
Path string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue