Placing a content area: Code sample

You can use the following syntax to place a content area in a template.

<divdata-content-block="bodyCopy">
  {{#page.bodyCopy}}
    {{& content}}
  {{/page.bodyCopy}}
</div>

In the previous example, bodyCopy is the name of the content area declared in the template.json file for this particular template.