webgen logo

webgen / static website generator

static website generation made easy!

Sub Menu

Tips

  • The basics pagecontains everything one needs to get going with webgen!
  • Descriptions for plugins can be found in the plugins section

Latest news

2007-12-31: Minor release with feature enhancements. More...

2007-09-08: Small bug fix release. More...

2007-06-29: Some bug fixes and one small feature enhancement. More...

Links

Generated by webgen

Page Menu

General Information

Plugin name:Core/Configuration
Author:Thomas Leitner <t_leitner@gmx.at>
Summary:Responsible for storing general parameters
Parameters:

customVars{}
A hash with global custom variables.

lang"en"
The default language.

loggerLevel2
The logging level, ranges from 0 (debug, more verbose) to 3 (error, less verbose)

outDir"output"
The directory to which the output files are written.

srcDir"src"
The directory from which the source files are read - is automatically set and cannot be overridden.

websiteDirnil
The website directory - is automatically set and cannot be overridden!

Description

The configuration plugin provides a place for all the parameters which do not belong to a specific plugin, like the default language setting.

It also provides support for “custom variables” through the customVars parameter. This facility can be used to store and access global variables that have been defined in the configuration file through, for example, the Tag/CustomVar plugin.