diff --git a/config.go b/config.go new file mode 100644 index 0000000..708da3b --- /dev/null +++ b/config.go @@ -0,0 +1,8 @@ +package main + +const SiteTitle = "kew example" +const FooterText = "made with kew" +const TemplateFile = "template.html" +const NavDirSymbol = "/" +const NavFileSymbol = ": " +const NavCurrentSymbol = "@ " diff --git a/kew.go b/kew.go index 1b923c7..509c246 100644 --- a/kew.go +++ b/kew.go @@ -9,15 +9,6 @@ import ( "strings" ) -/* TODO: config.h */ - -const SiteTitle = "mallocd.com" -const FooterText = "made with kew" -const TemplateFile = "template.html" -const NavDirSymbol = "/" -const NavFileSymbol = ": " -const NavCurrentSymbol = "@ " - type NavNode struct { Name string Path string