A smart static site and blog generator 📚
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
content
lib
views
README.md
config.json
index.js
package.json

README.md

Lettuja

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.

Features

  • 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 at config.json
  • Supports post drafts, use type: draft in the post header and look for the draft at http://example.com/ru/drafts/your-draft-post
  • Image uploads and automatic resizing
  • Github-flavored Markdown
  • Blazing fast

Post Format

---
Title: "Hello, World"
Date: 2014-09-17 16:40
Cover: "cover-image.jpg"
---

Hi. Here is my post.

Usage

  1. Update everything in config.json: setup passwords, strings and URLs.
  2. Run the app with node lib/index.js or use PM2.
  3. Every time Lettuja detects a file change it will generate your site. To upload images, head to http://example.com/admin