The Site Map
Static >> The Site MapThe Definition of a Site
One major assumption of static is that there are a finite number of pages definable using a simple tree structure. Nothing, as far as I am concerned, is simpler than yaml for describing a basic tree. Site maps can be however deep you like, but require that pages having sub-pages end in a colon(:) to indicat the new level.
Sample Site Map
site_map:
- Static:
- The Site Map
- The Copy
- The Blueprint
- The Layout
- The Site
- Why Static?
- Usage Notes:
- The Command Line Environment
- Yaml, The Copy, and You
- Rbml and HTML:
- The Idioms of Static
- Extending rbml
- Contact
Naming and Addressing Pages
Pages in a site may be named with capital letters, numerals and punctuation. This has not been tested very thoroughly, suffice it to say the above map with its commas and question marks works without a problem.
At the same time, all pages acquire a file_name upon creation. The file name can be found by removing all punctuation and swapping spaces for underscores. An example of each page’s file_name can be found on its associated copy page.