dsg library
Classes
- Application
- Config
- Defines default-configurations. Most of these configs can be overwritten by commandline args.
- Generator
- Init
- Initializes your site directory. This means - creates _templates folder, _content folder aso.
- Options
- Commandline options
Properties
- renderTemplate ↔ TemplateRenderer
-
Can be set to define a custom rendering function to handle your template files
and use any templating language of your choice.
getter/setter pair
Typedefs
- PartialsResolver = Template Function(String name)
- Resolved partial-names into mustache.Templates
- TemplateRenderer = String Function(String template, Map options, PartialsResolver resolver)
- Takes a template string (such as a Mustache template) and renders it out to an HTML string using the given input values/options.