Child pages
  • Can I change templateSuffix on a per-page basis

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

The templateSuffix variable controls which templating engine is used to render a page. To change the engine for a particular page, change the value of the templateSuffix variable.

Change to the Velocity Engine

Code Block
<s:set name="templateSuffix" value="'vm'" />

Change to the JSP engine

Code Block
<s:set name="templateSuffix" value="'jsp'" />

Change to the FreeMarker engine

(star) Freemarker is the default templating engine

Code Block
<s:set name="templateSuffix" value="'ftk'" />

See also Template Loading.