From 402caf195b74f3866c465a7b144b983d52a7cc01 Mon Sep 17 00:00:00 2001 From: uint Date: Fri, 19 Dec 2025 21:24:54 +0000 Subject: delegate config to config.go --- config.go | 8 ++++++++ kew.go | 9 --------- 2 files changed, 8 insertions(+), 9 deletions(-) create mode 100644 config.go 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 -- cgit v1.2.3