SectionsSections are named entities (or variables if you like) that may change their content on a per-directory basis. When you include a See the Appendix B: Flow of commands resolution in Commands Reference for an explanation of how nested sections are processed. In this primer we use sections to define sidebar menu. Since we only have one directory with our pages we will use a single <sections> <!-- Main sections from the template --> <section name="description"> <![CDATA[&.section(home); :: &.section(download); :: &.section(start); :: &.section(tutorial); :: &.section(reference); :: &.section(support); :: &.section(links); ]]> </section> <section name="footer"> <![CDATA[© 2007 <a href="http://stas.trefilov.googlepages.com/">Stas Trefilov</a>]]> </section> <!-- Menu sections defined in sidebar --> <section name="home"> <![CDATA[<a href="&.root;/">Home</a>]]> </section> <section name="download"> <![CDATA[<a href="http://sourceforge.net/project/showfiles.php?group_id=42851">Download</a>]]> </section> <section name="start"> <![CDATA[<a href="start.html">Introduction</a>]]> </section> <section name="start-a">Introduction</section> <section name="tutorial"> <![CDATA[<a href="tutorial.html">Tutorial</a>]]> </section> <section name="tutorial-a">Tutorial</section> <section name="reference"> <![CDATA[<a href="reference.html">Reference</a>]]> </section> <section name="reference-a">Reference</section> <section name="support"> <![CDATA[<a href="support.html">Support</a>]]> </section> <section name="support-a">Support</section> <section name="links"> <![CDATA[<a href="links.html">Links</a>]]> </section> <section name="links-a">Links</section> </sections> Note for the attentive reader: First you may notice the definition of our main sections. The Now we will use the In Content file structure and commands in Commands Reference you will find more information on this command. See below for a way of handling the content files. |