public static void RegisterHeadScript(this ResourceFilter filter, string resource) => filter.Execute(resourceManager => resourceManager.RegisterResource("script", resource).AtHead());
public static void RegisterStylesheet(this ResourceFilter filter, string resource) => filter.Execute(resourceManager => resourceManager.RegisterResource("stylesheet", resource));