+ Reply to Thread
Results 1 to 2 of 2

Thread: Include Statements in Templates

  1. #1

    Default Include Statements in Templates

    Is it possible to have Include statements in a template, so that content can be changed centrally for all pages that use that template? For example, a footer in the template could be modified for all pages if the Included content is changed. If that works, where do you store the included markup?

  2. #2
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    Use {{ wiki.page(page_path) }} to include a page or {{ template(template_path) }} if the included page is another template.
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts