Creating a template

For more information about creating a structure, see https://help.liferay.com/hc/en-us/articles/360017875532-Creating-Templates-

Optionally, you can paste the sample template text into the script field instead of manually building the template.

  1. Open the Site menu.
  2. Select Content & Data > Web Content.
  3. On the Web Content page, click the Templates tab.
  4. Click Add FreeMarker (.ftl).
  5. Replace "Untitled Template" with a name for the template.
  6. In the Properties section, click the Select button under the Structure field and select the structure.
  7. In the script field, add the fields that you want to use. You can drag-and-drop fields from the list into the script field.
  8. Click Save.