summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruint <abhinav.prsai@gmail.com>2025-12-19 21:24:54 +0000
committeruint <abhinav.prsai@gmail.com>2025-12-19 21:24:54 +0000
commit402caf195b74f3866c465a7b144b983d52a7cc01 (patch)
tree29db0b4c031353dc4524546a6855a3694a2dd33a
parentd83fe7af3a5ef48addceaa577c9ecf6784258c43 (diff)
delegate config to config.go
-rw-r--r--config.go8
-rw-r--r--kew.go9
2 files changed, 8 insertions, 9 deletions
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 <a href=\"https://github.com/uint23/kew\">kew</a>"
+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 <a href=\"https://github.com/uint23/kew\">kew</a>"
-const TemplateFile = "template.html"
-const NavDirSymbol = "/"
-const NavFileSymbol = ": "
-const NavCurrentSymbol = "@ "
-
type NavNode struct {
Name string
Path string