getPageCopy

Takes the specified location of the manuscript and applies personalisation, where the copy could either be an array of strings or arrays of arrays of strings.

In the pug template

div(class=`layout-copy ${spread}l/r ${data.locale}`) div(class='text-container') each block, blockIndex in copyBlock div.spread__text(class=`block__text--${blockIndex}`) each line, lineIndex in block div(class=`line__text--${lineIndex}`)!= line

The location of the copy can be given in template.js. See the product base.