Skip to content

arturi/lettuja

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A smart static site and blog generator 📚

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published