package main import ( "net/http" "strings" ) func HomePage(w http.ResponseWriter, r *http.Request) { cfg := LoadConfig() var items strings.Builder for _, n := range visibleNavItems(cfg.BetaToolsEnabled) { if n.Path == "/" { continue } label := n.Label if n.Beta { label += ` Beta` } items.WriteString(`
Standalone build. Pick a tool from the top bar.