Skip to content
Content types and templates

Content types and templates

Before anyone writes content, the organization must define what it publishes: articles, columns, recipes, slideshows… Each of these families is a content type, available in one or more templates.

These screens are for administrators only: Administration › Composer › Content Types.

Understanding the two levels

Content typeTemplate
What it isA family of contentA variant of that family
ExamplesArticle, SlideshowStandard article, Long read, Sponsored article
What it setsAn entry in the Composer menu, and the unit on which permissions are grantedThe fields offered to the writer, the allowed blocks, default values and how the site renders the content

Each content type shows up in the Composer menu, under Contents, in the order set by the administrator. A writer picks the template when creating content; if there is only one, it is preselected.

A content type without a template is unusable: no content can be created in it. Always create at least one template.

Creating a content type

Open the list

Go to Administration › Composer › Content Types and click New.

Fill in the type

  • Name: in each of your organization’s languages (2 to 100 characters). This is the label shown in the Composer menu.
  • SVG icon (optional): the code of an SVG icon, shown in the menu and in lists.

Click Create.

Order the types

In the list, the up/down arrows set the order of content types, which is also the order of the Composer menu.

Creating a template

Templates are managed from a content type’s page, Templates section: click New.

A content type’s page and its templates

At creation

FieldWhat it does
NameThe template name in each language (2 to 100 characters), which the writer sees when choosing.
Key (optional)The technical identifier that tells the website or app how to render this template. Agree on it with the team that builds your site.
Sponsored, AdvertisingThe starting values of these two flags on new content. The writer can still change them on each content.

Options

Once the template exists, the Options section sets what the writer can fill in:

OptionDefaultSettings
TitleAlways onMinimum, maximum and suggested lengths
SubtitleOnLengths, and a default subtitle in each language
LeadOnLengths
LocationOff—
VisibilityOffValues offered: Free, Metered, Restricted, Authenticated
VisualOnAllowed visual types: image, slideshow, video, none
AuthorsOff—
BlocksOnAllowed block kinds: rich text, image, video, quote, question…

The suggested length guides the writer without blocking them; the minimum and maximum lengths are enforced.

A template’s options

Block templates and metadata

Two advanced sections, to fill in with the team that builds your site:

  • Block templates (if blocks are on): named slots the writer can assign to their blocks, for instance a “sidebar” block that the site styles differently.
  • Metadata: key/value pairs the writer fills in on each content and the site reads, for instance a tracking code.

Removing a line takes two steps: Delete greys it out, then Restore undoes it or Remove deletes it for good.

Editing or deleting

  • Editing a template affects existing content that uses it: turning an option off hides it on all that content.
  • Changing the key of a template can change how it is rendered on the site.
  • A template cannot be deleted while any content uses it, even deleted content.
  • A content type cannot be deleted while it has templates.
A writer can change the template of existing content from its settings (Change template), among templates of the same type. This cannot be undone: fields and blocks the new template does not allow are deleted.

What’s next?

New content types stay invisible to writers until they are granted permission on them: see Workspaces.