Generate Mojolicious template