remove duplication of code by creating a layout
updates content
changes color of code highlight
updates title of index page