{% import ( "net/http" "strings" ) %} {% func Footer(r *http.Request) %} {%code prefix := "/vmalert/" if strings.HasPrefix(r.URL.Path, prefix) { prefix = "" } %}