Static site generator in PHP