Skip to content

Commit b8ed40a

Browse files
committed
ToC
1 parent da10532 commit b8ed40a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ Easily create a static timeline webpage like my [Wikimedia timeline](https://www
99
- [Primary content](#primary-content)
1010
- [Meta](#meta)
1111
- [Additional customization](#additional-customization)
12+
- [Deploy](#deploy)
13+
- [GitHub Pages](#github-pages)
14+
- [Other services](#other-services)
1215
- [Responsiveness](#responsiveness)
1316
- [Browser compatibility](#browser-compatibility)
1417
- [Under the hood](#under-the-hood)
@@ -72,9 +75,9 @@ Replace the images in the `src/img` folder to customize the page [favicon](https
7275

7376
Once you run `npm run-script buld`, you will see a `_site` directory containing static HTML/CSS/JS files with your site content. You can now use any static site hosting to deploy these files!
7477

75-
### Github pages
78+
### GitHub pages
7679

77-
To deploy your static site on Github pages (free!), create a branch containing the static files in the root directory by running `git subtree push --prefix _site origin gh-pages`. Then you can go to your repository's Settings > Pages options and choose "Deploy from a branch", then select `gh-pages` as the branch.
80+
To deploy your static site on GitHub pages (free), create a branch containing the static files in the root directory by running `git subtree push --prefix _site origin gh-pages`. Then you can go to your repository's Settings > Pages options and choose "Deploy from a branch", then select `gh-pages` as the branch.
7881

7982
<img src="docs/gh-pages-config.png" alt="Github Pages config settings. Under 'Build and deployment', Source is set to 'Deploy from a branch', branch is set to 'gh-pages', and the folder is set to '/ (root)'." width="500"/>
8083

0 commit comments

Comments
 (0)