Extract common layout to default.html