Sorry for the wordy title.
Basically I created a jekyll website using Jekyll Now theme, it worked perfectly as as static site, here is the github version: fitnessregiment.github.io which is how I want the site to look. If you go to Blog you can see 1 blog post /essential-softwares-for-windows/.
Now the issue is that once I enabled cloudfront in order to enable HTTPS on my main domain: alexis-drakopoulos.com a few things went wrong, I managed to fix some but one of the main ones I cannot fix is the blog posts do not show up on the blog page. They do however exist as seen at https://alexis-drakopoulos.com/essential-softwares-for-windows/
So to explain how the site works: Github repo: github.com/FitnessRegiment/fitnessregiment.github.io/
Then gets managed through forestry.io CMS which uploads straight to amazon S3.
Amazon S3 bucket endpoint: alexis-drakopoulos.com.s3-website.eu-west-2.amazonaws.com
Cloudfront URL: d2cmpfzgichbat.cloudfront.net (which as you can see does not show blog posts).
So I cannot figure out what could be going wrong, cloudfront not understanding the structure? I'm not sure.
Any help would be greatly appreciated.