It's like a poor man's Hugo, Jekyll or Gatsby.
Or in more words, a static site creator running on nodejs, using:
- Pug as template engine,
- TypeScript for Scripts
- SCSS for the style
For a sample implementation have a look here: mvw-website
- mvwc-lint: pug lint
- mvwc: generator
Supporting several global site configs in this priority:
- .mvwc-config
- .mvwc-config.js
- .mvwc-config.json
- mvwc node in package.json
{
"environment": "prod",
"environments": {
"base": {
"siteTitle": "Musikverein Wollbach 1866 e.V."
},
"prod": {
"key": "prod",
"baseUrl": "https://www.mv-wollbach.de/",
"isRelease": true
},
"dev": {
"key": "dev",
"baseUrl": "http://localhost/"
}
},
"destinationPath": "./build/",
"navigationPath": "./partials/",
"ampPath": "./partials/pages/Blog/*.pug",
"pugLintPath": "./partials/**/*.pug",
"pugPath": "./partials/pages/**/*.pug",
"searchIndex": {
"bodySelector": "main"
},
"structure": [
{
"reference": "index",
"navigation": "none",
"title": "Willkommen beim Musikverein Wollbach"
},
{
"title": "Aktuelles",
"children": [
{
"reference": "termine",
"title": "Termine"
},
{
"reference": "rueckblick",
"title": "Rückblick"
},
{
"reference": "berichte",
"title": "Berichte"
}
]
}
]
}