lfex / poise

An LFE Library for framework-agnostic generation of static HTML content

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Define generation flow/lifecycle

oubiwann opened this issue · comments

The output of this ticket will be a file in ./docs detailing everything below.

Things to keep in mind/include while creating this doc:

  • Content management:
    • Steps to add new site
    • Steps to add new "sub-site"
    • Steps to add new page, new sub-pages
    • How to add metadata
      • How to indicate which template will be used
    • Protected metadata keys
    • How to add custom metadata
  • Template management
    • How templates are organised
    • Steps to create templates
    • Variables the templates have access to
    • How to reference maps, lists, etc.
    • How to iterate over values
  • Content Generation
    • Order of operations when content it generated
    • How to compile templates
    • How to (re)generate content for a single template
    • How to (re)generate content for a directory (including all children)
    • How to (re)generate all content