+{{#if homepage}} +
+ {{{homepage}}} +
+{{else}} + + {{! + Display each section, in order. + + The "root" element comes first in this loop, and can be detected using + the "#ifDepth 1" block as seen below. + }} + {{#eachSection rootName}} + {{#ifDepth 1}} +
+ {{else}} +
+ {{/ifDepth}} + +
+ + + + {{#ifNumeric reference}} + {{reference}} + {{else}} + {{autoincrement}} + {{/ifNumeric}} + + {{#ifNumeric reference}} + #permalink + {{else}} + #{{reference}} + {{/ifNumeric}} + + + {{header}} + + + + {{#if parameters}} +
    + {{#eachParameter}} +
  • + {{name}} +
    {{{description}}}
    +
  • + {{/eachParameter}} +
+ {{/if}} + + {{#if description}} +
+ {{{description}}} +
+ {{/if}} +
+ + {{#if markup}} +
+ {{#if modifiers}} +
+ Default styling +
+ {{/if}} +
+ {{{markup}}} +
+ {{#eachModifier}} +
+ {{name}} +
+
+ {{{description}}} +
+
+ {{{markup}}} +
+ {{/eachModifier}} +
+ +
+
{{markup}}
+
+ {{/if}} + + {{#ifDepth 1}} +
+ {{else}} + + {{/ifDepth}} + {{/eachSection}} +{{/if}} +