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.
Wikis are available in public repositories with GitHub Free, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server.
In this article
Creating a footer
-
On GitHub Enterprise, navigate to the main page of the repository.
-
Under your repository name, click Wiki.
-
At the bottom of the page, click Add a custom footer.
-
Use the text editor to type the content you want your footer to have.
-
Enter a commit message describing the footer you’re adding.
-
To commit your changes to the wiki, click Save Page.
Creating a sidebar
-
On GitHub Enterprise, navigate to the main page of the repository.
-
Under your repository name, click Wiki.
-
Click Add a custom sidebar.
-
Use the text editor to add your page's content.
-
Enter a commit message describing the sidebar you’re adding.
-
To commit your changes to the wiki, click Save Page.
Creating a footer or sidebar locally
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.