This guide shows you how to edit your site entirely through GitHub’s web interface (so no software to install). This approach is perfect for experimenting or class assignments where you’re focused on a single page or two and a few images. For most student projects and straightforward edits, it works fine. You’ll make changes, commit them, wait a minute or two, and see your updates live on your website.
When you might want something else: If you’re building a site with lots of pages or are making frequent updates, check out the Working Locally guide.
Let’s make a simple change to your homepage:
index.md filePro tip: If something goes wrong, you can always come back and fix it. There’s no “undo” button, but you can just edit the file again.
Why copy a header? Every page needs that label at the top. By copying from an existing page, you get the format right automatically.
--- box at the very top, including the hyphens).md at the end (e.g., my-new-page.md)Next step: You’ll need to add this new page to your navigation menu so visitors can find it. Keep reading below.
The navigation file is where all menu links live. Instead of editing the code that makes the navbar, you just edit the data file and your changes appear everywhere.
_data foldertop-nav.yml (this is your menu file)title: (what people see in the menu) and a url: (where it links to)Pattern to follow:
- title: "My New Page"
url: "/my-new-page"
If you make a mistake, the menu might break. Check our Troubleshooting guide if your menu looks weird.
When you might do this: If you want to organize pages into folders (e.g., put all your portfolio pieces in a portfolio/ folder).
GitHub’s interface makes this a bit tricky, but here’s how:
my-page.md to portfolio/my-page.md and GitHub will create the folder automaticallyNote: This is optional and can wait until you’re comfortable with the basics!