A simple blog generator based on scala