Sub-Templates

Any template can be embedded within another template using the "embed" variable:

{embed="template_group/template"}

Where "template_group" is the name of the group and "template" is the name of the template. For example:

{embed="weblog/header"}

You can even nest templates in an unlimited way, putting templates within templates, within templates, etc. Please read the notes for guidelines.

Notes

We've built in some safeties to prevent run-away loops, but it's still possible to cause a loop.

Be careful when nesting templates!