package bot import ( "html/template" "net/http" "strings" ) func (b *bot) serveRoot(w http.ResponseWriter, r *http.Request) { context := make(map[string]interface{}) context["Nav"] = b.GetWebNavigation() t := template.Must(template.New("rootIndex").Parse(rootIndex)) t.Execute(w, context) } // GetWebNavigation returns a list of bootstrap-vue links // The parent