Thanks to visit codestin.com
Credit goes to github.com

Skip to content

michal-h21/docker-lettersmith

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker library for Lettersmith

Lettersmith is a static site generator written in Lua. This Docker project uses a fork of this generator that fixes some issues.

Use

The default configuration expects the following project structure:

www/
   web.lua
   html/
   www/

The web.lua script contains the site generation code, the html directory HTML or Markdown source files and the www directory the generated files. The basic invocation is:

docker run -v /path/to/www:/www:z  --rm IMAGE_NAME

Environmental variables

  • SCRIPT_FILE - name of the Lua script
  • HTML_DIR - source HTML directory
  • WWW_DIR - output HTML directory

About

Docker image for Lettersmith static site generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages