sigwinhq / yassg

Yet Another Static Site Generator
MIT License
3 stars 0 forks source link

Add scenario providers + metadata #68

Open dkarlovi opened 2 years ago

dkarlovi commented 2 years ago

Add a possibility for different states of views, example

  1. cart with product
  2. empty cart

The scenario provider should enable us to

  1. optionally have custom view data (conceptually similar to a controller)
  2. should allow custom metadata (like name, description, etc) which describes the scenario, this data can then be shown via the Navigator

TLDR scenario is a collection of routes, databases and controllers, with optional metadata for specific permutations.