swp is a minimal and sane web framework forked from sw,
using pandoc instead of a custom md2html.awk
clunky script.
pandoc
: see install guide pandoc.org/installing
then run:
make install PREFIX=/usr/local
Copy swp.conf and style.css to your working directory, and edit them to fit your needs.
Run from your working directory:
swp /path/to/site
Where 'site' is the folder where your website is located. The static version of the website is created under 'site.static'.
The whole process can be automatized if you create a Makefile like this in your working directory:
all:
swp /path/to/site
rsync -avz site.static/ foo.org:/path/to/wwwroot/
clean:
rm -rf site.static
- Nibble <develsec.org>
- rhighs <rmontalti.com>
- pancake <nopcode.org>
- Andrew Antle