Breaking common elements into individual templates and including them in the different layouts.