Set a Page's Title Dynamically
Article Topics: Design, Blocks
In the Extended Page Details and SEO section found at the bottom of a page's overview, you can use Replacement Variables to dynamically display details like the name of a Set or Model. This feature is useful for titling pages appropriately, improving SEO, and more.
You only need to make a single page for displaying content like a Model View or a Set View, and NATS automatically displays the appropriate content based on the ID/slug in the URL. Replacement Variables allow for further flexibility, giving you the ability to dynamically insert content-specific details where needed.
Setting the Title for a Page
To set the browser title and description dynamically for a page using a Model View or Set View block, you need to use the Block ID. You can find this ID by selecting the block and viewing the Block Details section.

To display a model or set name in the title of the page, use the following format:
{{block-<blockid>-<shortname>.<detail>}}Where:
<blockid>: The specific ID for a Block.
<detail>: The name of the available detail you wish to display.
The replacement variable will look like the following:
{{block-101070-models.name}} // Provides the Model Name
{{block-101070-set.name}} // Provides the Set Name
Navigating to any page with a Model View or Set View on our Tour or Member Area, depending on the Theme the page was modified on, will display the name of the in the browser.

Related Articles
Replacement VariablesPagesLast updated
Was this helpful?