webgen comes with many extensions that allow for the rapid creation of static websites. The variety of the extensions allows you to use your tools of choice, for example, your preferred markup language. And if your choice is not available, you can write the extension for it yourself or make a feature request!
Extensions are only loaded when they are needed. For example, if you don’t use
.feed paths for
automatically generating atom/RSS feeds for your website, the path handler that handles these paths
will never be loaded. Therefore you don’t need to explicitly enable most of the extensions, they
just sit in the background and wait until the webgen core needs them.
- Provides access to the command parser instance for adding CLI commands
- Provides a generic framework for processing content
- Allows adding helper methods (defined in modules) to the Context object
- Provides an extendable way for writing the generated files
- Tracks items for nodes which allows webgen to check if a node has changed
- Provides an easy way to provide globally shared link definitions (used, for example, by the content processor kramdown)
- Namespace for miscellaneous extensions
- Generic node finding extension, allows adding of custom filters
- Provides an extendable way to create nodes from source paths.
- Allows adding custom Sass load paths
- Provides an extendable way for finding source paths
- Handles webgen tags (an easy way for adding dynamic content)