Skip to main content
Skip table of contents

Include

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: spaceKey

  • Type: String

  • Description: The key of the space in which the requested blog post resides

$include.blogObject()

Page

The latest blog post in the current space.

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

$include.blogObject(spaceKey)

Page

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

  • Parameter: spaceKey

  • Type: String

  • Description: The key of the space in which the requested blog post resides

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

$include.page(pageTitle)

Page

The page with the specified title.

  • Parameter: pageTitle

  • Type: String

  • Description: The title of the page to include

$include.page(spaceKey, pageTitle)

Page

The page in the specified space with the specified title.

  • Parameter: spaceKey

  • Type: String

  • Description: The key of the space where to find the space

--

  • Parameter: pageTitle

  • Type: String

  • Description: The title of the page to include


$include.template(templatePath)

String

The rendered output of the specified template.

  • Parameter: templatePath

  • Type: String

  • Description: The path to the template within the theme



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.