Table of contents and footer are included automatically.
Be sure to add your page to _data/sidebars/mydoc_sidebar.yml.