@ -23,3 +23,78 @@ Note that when specifying the name of the template in the render method, you can
By default Flight will look for a `views` directory for template files. You can set an alternate path for your templates by setting the following config:
By default Flight will look for a `views` directory for template files. You can set an alternate path for your templates by setting the following config:
It is common for websites to have a single layout template file with interchanging content. To render content to be used in a layout, you can pass in an optional parameter to the `render` method.