A static site and blog generator written in Node.js. It takes Markdown .md
files from a content folder content
, parses it using Handlebars templates and outputs HTML files to an output
folder.
- Supports multiple languages or environments — each with its own language and settings:
content/ru
,content/en
,content/fi
,content/main
and so on. Update i18n strings atconfig.json
- Supports post drafts, use
type: draft
in the post header and look for the draft athttp://example.com/ru/drafts/your-draft-post
- Image uploads and automatic resizing
- Github-flavored Markdown
- Blazing fast
---
Title: "Hello, World"
Date: 2014-09-17 16:40
Cover: "cover-image.jpg"
---
Hi. Here is my post.
- Update everything in
config.json
: setup passwords, strings and URLs. - Run the app with
node lib/index.js
or use PM2. - Every time Lettuja detects a file change it will generate your site. To upload images, head to
http://example.com/admin