SiteHelperprovides information regarding the active site for the current request.
id for the current site.
LanguageId for the current site.
Culture for the language selected for the current site.
Gets the optional site prefix of the current site if it is routed with
@WebApp.Site.Description.Title @WebApp.Site.Description.Body @WebApp.Site.Description.Logo
Gets the standard description fields available for the site.
var sitemap = WebApp.Site.Sitemap;
Sitemap for the current site. This can for example be used for rendering menus. The result only contains the currently published nodes, but hidden nodes are included and must be handled by the application.
var content = await WebApp.Site.GetContentAsync<T>();
Gets the current site content with the specified
Site Type. This is used if you have registered and selected a Type for your site for Site Global Content.