FaviconOptions Pennington.Favicon
Host configuration for favicon / icon <link> tags emitted into the document head. The icon files themselves are user-provided static assets served and copied by the content-root static-files mechanism; this only emits the discovery markup. Set this on Favicons (templates forward it from their own options) to enable the feature; leaving it null disables it.
Properties
IconsImmutableArray<FaviconLink>- The icon links to emit, in document order. Empty means nothing is emitted.
Pennington.Favicon.FaviconOptions
namespace Pennington.Favicon;
/// Host configuration for favicon / icon <link> tags emitted into the document head. The icon files themselves are user-provided static assets served and copied by the content-root static-files mechanism; this only emits the discovery markup. Set this on Favicons (templates forward it from their own options) to enable the feature; leaving it null disables it.
public record FaviconOptions
{
/// The icon links to emit, in document order. Empty means nothing is emitted.
public ImmutableArray<FaviconLink> Icons { get; set; }
}