# full SSGen website example # (c) theokrueger 2024 # GPL-3.0 Licensed html: - !INCLUDE /blocks/head.block - body: # Title - content: - div: - _id: title - !INCLUDE '/content/title.block' - div: - _id: why - !INCLUDE '/content/why.block' # Sidebar / TOC - nav: - a: _href: '#title' c: 'Home' l: '-- Home' - a: _href: '#why' c: 'Why?' l: '0. Why?' - a: _href: '#the-basics' c: 'Basics' l: '1. The Basics' - a: _href: '#tag-metadata' c: 'Tags' l: '2. Tag Metadata' - a: _href: '#variables-and-def' c: '!DEF' l: '3. Variables and !DEF' - a: _href: '#include' c: '!INCLUDE' l: '4. !INCLUDE other files' - a: _href: '#foreach' c: 'Loops' l: '5. Loop using !FOREACH' - a: _href: '#conditionals' c: 'Conditionals' l: '6. Conditionals using !IF' - a: _href: '#special-files' c: 'META.yaml' l: '7. The special META.yaml' - a: _href: '#strings' c: 'Strings' l: '8. String Manipulation' - a: _href: '#advanced' c: 'Advanced Features' l: '9. Advanced Features' # Content - content: - div: - _id: the-basics - !INCLUDE '/content/basics.block' - div: - _id: tag-metadata - !INCLUDE '/content/tag-metadata.block' - div: - _id: variables-and-def - !INCLUDE '/content/variables-and-def.block' - div: - _id: include - !INCLUDE '/content/include.block' - div: - _id: foreach - !INCLUDE '/content/foreach.block' - div: - _id: conditionals - !INCLUDE '/content/conditionals.block' - div: - _id: special-files - !INCLUDE '/content/special-files.block' - div: - _id: strings - !INCLUDE '/content/strings.block' - div: - _id: advanced - !INCLUDE '/content/advanced.block' # Footer - footer: c: _class: rotate-90 t: © t: theokrueger br: '' a: _class: nodecorate _href: '{SOURCE}' _target: '_blank' t: Source