These are the instructions for contributing to the blog…

Adding pictures to markdown posts

Because the images are stored relative a base url directory in the github.io pages, you have to add these to the links for the markdown files. In addition, jekyll copies files only from certain directories so put the images in the /assets/images/ directory. The steps to add an image to a md post are:

  1. Copy the image into /assets/images/
  2. add the markdown image code using the baseurl site like this (the site.baseurl is “/loyds_blog”)
     ![This image](/loyds_blog/assets/images/new_image.jpg "New image")
    

    Adding a banner and a thumbnail

    in the front matter if you include

    image: someimage.jpg
    

    then this image will be shrunk and played with to make it into the post banner and the thumbnail. If no post.image is given then you can seperate the pictures into post.banner and post.thumbnail.

    banner: someBanner.jpg
    thumbnail: someThumbnail.jpg
    

    However, if post.image is given then that will be used and the post.banner and post.thumbnail will be ignored.