Single quotes
Tidy up whitespace
Remove unused locals
Tidy up
Remove debug line
Set default layout
Set :pages_dir setting by passing into #activate
Tidy up