{% import ( "strings" "net/http" "path" ) %} {% func Header(r *http.Request, navItems []NavItem, title string) %} {%code prefix := "/vmalert/" if strings.HasPrefix(r.URL.Path, prefix) { prefix = "" } %}