@{ var path = Context.Request.Path.Value ?? "/"; string Active(string p) => path.Equals(p, StringComparison.OrdinalIgnoreCase) ? "active" : ""; }