Skip to main content

Создание нижнего колонтитула или боковой панели для вики-сайта

Вы можете добавить настраиваемую боковую панель или нижний колонтитул в вики-сайт, чтобы предоставить читателям дополнительную контекстную информацию.

Кто эту функцию можно использовать?

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. For more information, see "GitHub’s plans."

  1. On GitHub.com, 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 GitHub.com, 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.