display the code toggle button when page has code: true in yaml