delegate config to config.go

This commit is contained in:
uint 2025-12-19 21:24:54 +00:00
commit 402caf195b
2 changed files with 8 additions and 9 deletions

8
config.go Normal file
View 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
View file

@ -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