Campus History Revision Guide

This guide is useful ONLY AFTER you have followed the directions for setting up your repository.

Once you have your own copy of the Campus History repository AND your own version of the website is running (the URL will look like https://USERNAME.github.io/campus-history/), you are ready to proceed.

Save time with bookmarks

Create bookmarks for two locations you will be visiting often:

Create a new page

Go to YOUR repository (the URL will look like https://github.com/USERNAME/campus-history/). You should see the list of files in the repository (starting with folders like _includes and _layouts).

Test your page

Make sure you have /essays/ in the above URL

Once you can get to your page, bookmark it! It’s easy to forget what th URL is to preview your page.

Create your images folder

You’ll notice that no images are showing up on your new page, because we didn’t copy any images into your new folder. In fact, you don’t even have an images folder yet!

Edit offline

Now you are ready to go in full-on edit mode for your essay. Although fine for testing, please do not edit this long essay in the tiny GitHub text editor. It makes it WAY TOO EASY to make mistakes that take a LOT OF TIME to fix.

Instead, you should copy and paste the whole essay in a text editor, and do all your editing (possibly over a period of time, saving a local copy as you go), then copy and paste your changes to GitHub. Make sure you save your file with the EXACT same name as the original. You are welcome to commit your changes in smaller batches, as well, such as one paragraph at a time. My favorite editor is Sublime.

Page build errors

If you commit a file with a syntax error (a missing quote or something like that), you will get an email saying there is a “page build error”. Until you fix it, you won’t see any subsequent changes you commit to your repository.