Qgoda
Qgoda static site generator configuration file format
| Type | object |
|---|---|
| File match |
_qgoda.yaml
_qgoda.yml
_qgoda.json
_localqgoda.yaml
_localqgoda.yml
_localqgoda.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/qgoda/latest.json |
| Source | https://www.qgoda.net/schemas/qgoda.json |
Validate with Lintel
npx @lintel/lintel check
A Qgoda Configuration
Properties
Additional analyzers to run after the Qgoda standard analyzer.
[]
Number of seconds to wait before forcibly terminating pre-build or post-build tasks; defaults to 300 seconds.
Set to true if a case-sensitive file system shoud be assumed.
Should existing output files be read and compared to the new version to avoid updating timestamps (default => true)
List of additional file name patterns that should be ignored for building the site.
[]
List of additional file name patterns that should be ignored when changed in watch mode.
[]
An object of valid chain names or '*' that give the frontmatter placeholder string for each configured processor chain.
{
"*": "[% '' %]\n"
}
Value for the generator meta tag in generated pages.
Key-value pairs of command identifiers and the command to run in parallel, when running in watch mode. Default: empty.
{}
Basename of a file that is considered to be the index document of a directory.
Number of seconds to wait until a rebuild is triggered after a file system change in watch mode.
List of language identifiers complying to RFC4647 section 2.1 but without any asterisk (*) characters.
By which value should two assets be considered more related if they link to to each other.
Template string for the output location.
List of additional file name patterns that should be processed in scm mode, even when not under version control
[]
Configurable paths.
{}
5 nested properties
Directory for plug-ins.
Directory for po files and other i18n related files.
Directory where to store rendered files, defaults to the absolute path to '_site' in the current directory.
Name of the timestamp file containing the seconds since the epoch since the last write of the site.
Directory where view templates are searched.
Template string for permalinks.
Variables for internationalization (i18n) and the translation workflow.
{}
11 nested properties
Copyright information for the original content.
List of file name patterns for additional markdown files to translate.
[]
The 'msgfmt' command or an array of the program name plus arguments.
[
"msgfmt"
]
Where to report translation problems with the original strings.
The 'msgmerge' command(or an array of the program name plus arguments.
[
"msgmerge"
]
The 'qgoda' command or an array of the program name plus arguments.
[
"qgoda"
]
Whether to throw away the translation before every rebuild, defaults to false.
An identifier for the translation catalog (textdomain), defaults to 'messages'.
A list of file name patterns or one single pattern, where translatable templates for the Template Toolkit version 2 are stored, defaults to '_views'.
[]
The 'xgettext' command or an array of the program name plus arguments.
[
"xgettext"
]
The 'xgettext-tt2' command or an array of the program name plus arguments.
[
"xgettext-tt2"
]
Modules to run after each build.
{
"modules": [],
"options": {}
}
2 nested properties
The post-processor modules.
[]
Additional options for the post-processor plug-ins
{}
List of file name patterns that should notbe deleted in the output directory.
[]
Site-specific variables. You can also choose the namespace 'site' if you prefer.
The processors to use for generating content.
{}
3 nested properties
The processor chains.
{
"html": {
"modules": [
"TT2",
"Strip",
"HTMLFilter"
]
},
"markdown": {
"modules": [
"TT2",
"Strip",
"Markdown"
],
"suffix": "html",
"wrapper": "html"
},
"raw": {
"modules": [
"TT2",
"Strip"
]
},
"xml": {
"modules": [
"TT2",
"Strip"
]
}
}
Additional options for the processor plug-ins
{
"HTMLFilter": {
"AnchorTarget": {},
"CleanUp": {},
"Generator": {},
"TOC": {
"content-tag": "qgoda-content",
"end": 6,
"start": 2,
"template": "components/toc.html",
"toc-tag": "qgoda-toc"
}
}
}
Filename extenders that trigger a particular chain if not specified in front matter or defaults.
{
"htm": "html",
"html": "html",
"json": "raw",
"md": "markdown",
"mdown": "markdown",
"mdwn": "markdown",
"mkd": "markdown",
"mkdn": "markdown",
"xml": "raw"
}
Source code management (SCM) that is in use. If present, only files that are under version control and those matching 'no-scm' are processed. Currently only git is supported.
Site-specific variables. You can also choose the namespace 'private' if you prefer.
The source directory for all assets. Do not set that variable yourself! It will be overwritten at runtime with the absolute path to the current directory.
Key/value pairs of taxonomy names and their respective weights for the computation of relatedness.
{
"categories": 3,
"links": 1,
"tags": 2
}
The title of the site. It has no particular semantics.
Set to true if you want to speed up watch mode by re-processing only assets that have changed or depend on changed files.
The main url of the site.
The default view template to use.