Add code block to nav page