1.4.0 • Published 5 years ago

mvw-creator v1.4.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

MVW Creator

Build State NPM version

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

CLI

  • mvwc-lint: pug lint
  • mvwc: generator

Configuration

Supporting several global site configs in this priority:

  • .mvwc-config
  • .mvwc-config.js
  • .mvwc-config.json
  • mvwc node in package.json

Sample configuration:

    {
      "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"
            }
          ]
        }
      ]
    }
1.4.0

5 years ago

1.3.13

5 years ago

1.3.12

5 years ago

1.3.11

5 years ago

1.3.10

5 years ago

1.3.9

5 years ago

1.3.8

5 years ago

1.3.7

6 years ago

1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago