Customer Guide / Web Content

Web Content

Author reusable, structured content with templates.

Web content keeps your wording and data separate from page design, so the same content can be reused across pages and rendered consistently. The Web Content area has three tabs — Structures, Templates and Content — and items are organised into folders. You can also Import HTML to bootstrap content.

Structures

A structure defines the fields a piece of content has — for example a news article might have a title, summary, body and image. Define the structure once and every article follows the same shape.

The Structures tab with content folders.
The Structures tab with content folders.
  1. Open Web Content and select the Structures tab.
  2. Select New Structure and add fields (text, rich text, image, date, and so on).
  3. Mark which fields are multilingual, then save.

Templates

A template decides how a structure is displayed — the markup and styling wrapped around the fields. Magic Varsh uses Freemarker templates, so pairing a structure with a template means authors fill in fields and the output is always on-brand.

Editing a Freemarker content template.
Editing a Freemarker content template.

Authoring content

  1. Open Web Content → Content and select New.
  2. Choose the structure to use.
  3. Fill in the fields for each language.
  4. Save as draft, or publish to make it available to pages.
Authoring a web content item.
Authoring a web content item.
i
Because content is structured and multilingual, you can translate an article by switching the language tab and filling in the same fields — no duplicate pages required.