Site Helper

Håkan Edling edited this page Mar 24, 2015 · 1 revision

The site helper provides methods for accessing information about the currently active site. The actual content of the current global site regions is accessed from the PageModel in the LayoutPage as you would access any page data.

SiteDescription

@Site.SiteDescription

Gets the meta description for the currently active site. This property is also used when generating meta fields and open graph tags. The information can be edited by clicking Edit site in the toolbar in the manager page view.

SiteTitle

@Site.SiteTitlecshtml

Gets the meta title for the currently active site. This property is also used when generating meta fields and open graph. The information can be edited by clicking Edit site in the toolbar in the manager page view.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.