IPublishedContent

IPublishedContent is strongly typed model for content, media and members that is used to render content in your views for your website.

Get started

To access the current page in your macros or templates, copy-paste the below Razor code.

@{
    var pageName = Model.Content.Name;
    var childPages = Model.Content.Children;
}

<h1>@pageName</h1>

Properties

Listing and explanation of IPublishedContent properties & standard helpers for Content and Media.

Collections & Filtering

Methods for IPublishedContent collections and filtering.

IsHelpers

A library of extension methods to simplify working with IPublishedContent in collections to modify your HTML output. Examples could be injecting CSS classes for alternating rows or to modify margins.