[gen.p6] generate index with 10 recent posts