Static site builder based on a makefile.
- renders pages from markdown
- depends only on common shell tools
- is fast
git clone git://celehner.com/mksite
sudo make install
or, to change default prefix (/usr/local/):
sudo make install PREFIX=/usr
In your site directory, create a
To make a page, create a
.md Markdown file or
.content.html HTML file.
To hide files from navigation, add them to a file called
To build your site, run
More advanced usage
In your site directory, create a Makefile. Have it include
mksite, and any
additional rules you need to build or deploy your site.
$ cat Makefile include $(shell which mksite) deploy: rsync -avz . example.org:/path/to/www/
Inspired by sw suckless webframework.
Markdown renderer by Jesus Galan (yiyus).
- Handle nested directories.
- Do something smart about the index page.