Skip to content

Generate a static website with make and pandoc

Notifications You must be signed in to change notification settings

jakejohns/mksite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mksite - static site generator

Generate a static website with make and pandoc.

mksite can also:

  • sign the generated html documents with gpg,
  • compile css with sassc,
  • deploy the site with rsync
  • serve generated site with either php or python

Usage


# generate all html files, signatures, and css
$ make

# deploy
$ make deploy REMOTE=host:./www

# get help
$ make help

Config

Edit Makefile and only include the tasks you want to do. For example, if you don't want to sign the html files, don't include sign-html.mk. You can also edit config/make/config.mk and override settings and set a value for the REMOTE variable if you want to use make deploy without setting it on the command line. Include one of config/make/serve-{php,python}.mk and make serve will use built-in web server of the selected language.

About

Generate a static website with make and pandoc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published