Skip to content

Commit c4accc0

Browse files
authored
Add additional index options (#22340)
* Add additional index options
1 parent cf67501 commit c4accc0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

content/pages/getting-started-with-github-pages/creating-a-github-pages-site.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ shortTitle: Create a GitHub Pages site
4242
{% data reusables.pages.decide-publishing-source %}
4343
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.
4444
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.
45+
46+
{% tip %}
47+
48+
**Tip:** If `index.html` is present, this will be used instead of `index.md`. If neither `index.html` nor `index.md` are present, `README.md` will be used.
49+
50+
{% endtip %}
4551
{% data reusables.pages.configure-publishing-source %}
4652
{% data reusables.repositories.sidebar-settings %}
4753
{% data reusables.pages.sidebar-pages %}{% ifversion fpt or ghec %}

0 commit comments

Comments
 (0)