skills-github-pages/README.md

52 lines
2.0 KiB
Markdown
Raw Normal View History

2024-10-23 15:33:27 +08:00
<header>
<!--
<<< Author notes: Course header >>>
Include a 1280×640 image, course title in sentence case, and a concise description in emphasis.
In your repository settings: enable template repository, add your 1280×640 social image, auto delete head branches.
Add your open source license, GitHub uses MIT license.
-->
# GitHub Pages
_Create a site or blog from your GitHub repositories with GitHub Pages._
</header>
<!--
2024-10-23 15:48:05 +08:00
<<< Author notes: Step 3 >>>
2024-10-23 15:46:21 +08:00
Start this step by acknowledging the previous step.
Define terms and link to docs.github.com.
2024-10-23 15:48:05 +08:00
Historic note: previous version checked the homepage content was not empty.
2024-10-23 15:33:27 +08:00
-->
2024-10-23 15:48:05 +08:00
## Step 3: Customize your homepage
2024-10-23 15:33:27 +08:00
2024-10-23 15:48:05 +08:00
_Nice work setting the theme! :sparkles:_
2024-10-23 15:33:27 +08:00
2024-10-23 15:48:05 +08:00
You can customize your homepage by adding content to either an `index.md` file or the `README.md` file. GitHub Pages first looks for an `index.md` file. Your repository has an `index.md` file so we can update it to include your personalized content.
2024-10-23 15:33:27 +08:00
2024-10-23 15:48:05 +08:00
### :keyboard: Activity: Create your homepage
2024-10-23 15:33:27 +08:00
2024-10-23 15:48:05 +08:00
1. Browse to the `index.md` file in the `my-pages` branch.
2024-10-23 15:46:21 +08:00
1. In the upper right corner, open the file editor.
2024-10-23 15:48:05 +08:00
1. Type the content you want on your homepage. You can use Markdown formatting on this page.
1. (optional) You can also modify `title:` or just ignore it for now. We'll discuss it in the next step.
1. Commit your changes to the `my-pages` branch.
2024-10-23 15:46:21 +08:00
1. Wait about 20 seconds then refresh this page (the one you're following instructions from). [GitHub Actions](https://docs.github.com/en/actions) will automatically update to the next step.
2024-10-23 15:33:27 +08:00
<footer>
<!--
<<< Author notes: Footer >>>
Add a link to get support, GitHub status page, code of conduct, license link.
-->
---
Get help: [Post in our discussion board](https://github.com/orgs/skills/discussions/categories/github-pages) &bull; [Review the GitHub status page](https://www.githubstatus.com/)
&copy; 2023 GitHub &bull; [Code of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/code_of_conduct.md) &bull; [MIT License](https://gh.io/mit)
</footer>