The top of my .markdown file in the jekyll theme is as follows:
---
layout: post
title: xyz
description: xyz
img: /img/1.JPG
---
The picture does not load if the extension is .JPG, even though the picture's extension in the _img/ folder is .JPG
It works if the extension in the code is changed to .jpg
.
Everything works fine when I jekyll serve it locally but this happens when I push my changes to github and try to view my changes on github pages
I could do a patch up like this everywhere but I would like to understand why I have to do this.