Guide

After having familiarized yourself with Ema by following the earlier section, you are now ready to dive deep into learning how to achieve specific things.

  • Defining your modelDefine your site model such that it supports hot reload
  • Working with routesUnless you site has a single page (index.html), you will need to manage a set of routes
  • Defining Ema instanceConstrain your model and route to work with static sites
  • Rendering HTMLYou could use plain strings to build HTML, or use templates, or use one of the delightful Haskell DSLs
  • HelpersBring Your Own Libraries, or choose from existing helpers
Links to this page