×

You're using an outdated browser

For a better experience, keep your browser up to date. Check here for the latest version.

Manual

Include

Steffen Burzlaff

Steffen Burzlaff Last update: Aug 2, 2018

Placeholder for including content in a template.

Methods

Name Type Description
$include.blog() Page

The latest blog post of the space for which the viewport is configured.

$include.blog(spaceKey) Page

The latest blog post from the space with the specified key.

Parameter Type Description
spaceKey String The key of the space in which the requested blog post resides.
$include.blogObject() Page

The latest blog post in the current space.

Deprecation Notice: Deprecated. Use $include.blog() instead.

$include.blogObject(spaceKey) Page

The latest blog post in the space with the specified key.

Parameter Type Description
spaceKey String The key of the space in which the requested blog post resides.

Deprecation Notice: Deprecated. Use $include.blog(spaceKey) instead.

$include.page(pageTitle) Page

The page with the specified title.

Parameter Type Description
pageTitle String The title of the page to include.
$include.page(spaceKey, pageTitle) Page

The page in the specified space with the specified title.

Parameter Type Description
spaceKey String The key of the space where to find the page.
pageTitle String The title of the page to include.
$include.template(templatePath) String

The rendered output of the specified template.

Parameter Type Description
templatePath String The path to the template within the theme.

2x2.12
We use cookies to create a secure and effective browsing experience for our website visitors and to understand how you use our site (i.e. Google Analytics). For more information: click here.
Ok