Skip to content
/ yassg Public

Yet Another Static Site Generator

License

Notifications You must be signed in to change notification settings

sigwinhq/yassg

Repository files navigation

Yet Another Static Site Generator

Start building a static site powered by Twig and Encore.

Use a YAML database to organize routes and data.

Get started

  1. create an empty folder

    mkdir yassg-test && cd yassg-test
  2. require the package

    composer require sigwin/yassg
  3. init the project

    vendor/sigwin/yassg/bin/yassg yassg:init
  4. run a dev server:

    make start/dev

Build the site

Pass the base URL to build

BASE_URL=https://example.com/subdir make build/clean

The output will be in the public/ folder, the contents of which needs to be deployed to the BASE_URL.

Pages CI setup

Includes Gitlab CI / Gitlab Pages setup.