Reduce layout duplication + fix 'my page' link. Closes #507.