I had been editing the wrong files to customise the html. I have to override the files in the theme. My helpful screenshot

Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.