convert main pages to middleman

Signed-off-by: Joshua Paling <joshua.paling@gmail.com>