Lightweight Static Site Generator (SSG) built with Svelte & Vite, shipped with no dependencies.
graph
Dir[Local directory] --> Files(.leg files)
Dir[Local directory] --> Config(leger.config.js)
Files -- transpile --> HTML{.html}
Config -- configure --> HTML
Leger[Leger] -- webComponents --> HTML
HTML -- build --> StaticHTML(Static HTML)
HTML -- dev --> HMR(Local dev server)
.leg
filesection(columns="2")
text(size="large") This is awesome
text(size="small") ... and this might be too small
button() Sign up
.leg
file with metadata---
title: My own leger website
description: You can write here some custom description
siteName: My Own Site with Leger
---
text(size=xl) Hello, Leger