* Add back changes from prior to purge * Manually fix some invalid Liquid * Updoot render-content * Improve test messages to show correct output * Run el scripto * Pass the remaining test
3.1 KiB
title, intro, redirect_from, product, versions
| title | intro | redirect_from | product | versions | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Creating a GitHub Pages site | You can create a {% data variables.product.prodname_pages %} site in a new or existing repository. |
|
{% data reusables.gated-features.pages %} |
|
Creating a repository for your site
{% data reusables.pages.new-or-existing-repo %}
{% data reusables.pages.private_pages_are_public_warning %}
{% data reusables.repositories.create_new %} {% data reusables.repositories.owner-drop-down %} {% data reusables.pages.create-repo-name %} {% data reusables.repositories.choose-repo-visibility %} {% data reusables.repositories.initialize-with-readme %} {% data reusables.repositories.create-repo %}
Creating your site
{% data reusables.pages.must-have-repo-first %}
{% data reusables.pages.navigate-site-repo %}
{% data reusables.pages.decide-publishing-source %}
3. If your chosen publishing source already exists, navigate to the publishing source. If your chosen publishing source doesn't exist, create the publishing source.
4. In the root of the publishing source, create a new file called index.md that contains the content you want to display on the main page of your site.
{% data reusables.pages.configure-publishing-source %}
{% data reusables.repositories.sidebar-settings %}
{% data reusables.pages.visit-site %}
{% data reusables.pages.admin-must-push %}
Next steps
You can add more pages to your site by creating more new files. Each file will be available on your site in the same directory structure as your publishing source. For example, if the publishing source for your project site is the gh-pages branch, and you create a new file called /about/contact-us.md on the gh-pages branch, the file will be available at {% if currentVersion == "free-pro-team@latest" %}https://<user>.github.io/<repository>/{% else %}http(s):///pages///{% endif %}about/contact-us.md`.
You can also add a theme to customize your site’s look and feel. For more information, see {% if currentVersion == "free-pro-team@latest" %}"Adding a theme to your {% data variables.product.prodname_pages %} site with the theme chooser{% else %}"Adding a theme to your {% data variables.product.prodname_pages %} site using Jekyll{% endif %}."
To customize your site even more, you can use Jekyll, a static site generator with built-in support for {% data variables.product.prodname_pages %}. For more information, see "About {% data variables.product.prodname_pages %} and Jekyll."