complete conversion of genshi template