TomatoUSB is an excellent open source firmware for routers.
Jekyll automatically transforms the HTML. Each file contains the css for easy upload.