Replacement Variables for the HTML Block

Article Topics: Design, Blocks

HTML Blocks

The HTML blocks provide a space for you to add custom HTML to your page. This can be found on the HTML tab of the Block configuration. Within the HTML block, you will also find the Replacement Vars tab, which lists some common ways to modify your block using Replacement Vars.

Using the {{area.name}} replacement variable, you can provide your site visitors with a welcome message with the name of your area using the following example:

<h1 class="text-center center">Welcome to <b>{{area.name}}</b>. We are happy to have you here.</h1>

This will display the name you've specified for your Area, in this case, the Tour, on the page with the HTML Block.

Block TypesList of Replacement Variables

Last updated

Was this helpful?