Disruptive Expertise Editing Guide

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

Reminder! Create bookmarks for two locations you will be visiting often:

Editing your new page

Now that you have a working website and your own page to edit, you’re ready to replace all the sample content with your own.

Test an edit on your new page

Make sure you’re on YOUR repository (the URL will look like https://github.com/USERNAME/disruptive-expertise/). Make sure you’re on the Code tab (normally the default view). You should see the list of files in the repository (starting with folders like _data,_includes, _layouts, etc).

Adding your own images

Your images folder comes with a bunch of images you don’t need. You can delete all of those or leave them. But you’ll need to add your own images to your essay.

Uploading images to GitHub

  1. Make sure you have your image saved and renamed to kebab case. It will be easier to troubleshoot missing images if the filename tells you what the image is.
  2. Go to your GitHub repository, Code tab, editor (via .)
  3. Expand the essays folder to see your own project folder
  4. Expand your project folder to see your images folder
  5. Drag your image file from wherever it is on your computer to the images folder.
  6. Make sure it ended up in the images folder! Drag and drop again if need be.
  7. Click the network icon at left, type a commit message, and Commit & Push.

Edit your page to use the new files

Your page uses a little code snippets to display your images. You need to update any existing snippets to reference the files you uploaded.

Page sure your image code references your image upload

Verify Everything Works

After uploading an image and updating your code snippets with the filenames of your image files (and committing your changes):

  1. Wait 1-2 minutes for GitHub Pages to rebuild your site
  2. Visit your page on your website (you bookmarked it, right?)
  3. Check that:
    • Your image displays correctly

Troubleshooting

Image doesn’t appear?

Image is too large or too small?