Fixes the image path for header image.

Using path.basename to extract the file name of the image.
Without doing this, the image src will be /img/original/path/to/image,
which is not how it gets copied into the docs/img folder.
Merge pull request #8 from andyperlitch/fix_img_path

Fixes the image path for header image.