A simple middle ware for the Spirit static file generator