Skip to main content

This version of GitHub Enterprise Server will be discontinued on 2024-06-29. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.

Creating a footer or sidebar for your wiki

You can add a custom sidebar or footer to your wiki to provide readers with more contextual information.

Who can use this feature?

Wikis are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud and GitHub Enterprise Server.

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository.

  2. Under your repository name, click Wiki.

    Screenshot of the menu in a repository. The "Wiki" option is outlined in dark orange.

  3. At the bottom of the page, click Add a custom footer.

  4. Use the text editor to type the content you want your footer to have.

  5. In the "Edit message" field, enter a commit message describing the footer you’re adding.

  6. To commit your changes to the wiki, click Save Page.

Creating a sidebar

  1. On your GitHub Enterprise Server instance, navigate to the main page of the repository.

  2. Under your repository name, click Wiki.

    Screenshot of the menu in a repository. The "Wiki" option is outlined in dark orange.

  3. Click Add a custom sidebar on the right side of the page.

  4. Use the text editor to add your page's content.

  5. In the "Edit message" field, enter a commit message describing the sidebar you’re adding.

  6. To commit your changes to the wiki, click Save Page.

If you create a file named _Footer.<extension> or _Sidebar.<extension>, we'll use them to populate the footer and sidebar of your wiki, respectively. Like every other wiki page, the extension you choose for these files determines how we render them.