Netlify deployed site view different than local jekyll serve

254 Views Asked by At

I am trying to deploy a jekyll website, specifically, in the Jekyll Uno template. The local view is completely fine, however, when I tried to deploy it, it looked something like this. P.S. the github repo is this and the local view looks like this. Any ideas what might be causing this?

1

There are 1 best solutions below

3
On BEST ANSWER

You're moving from gh-pages to Netlify deploy. You then have to change some configuration.

In _config.yml, change

url: 'https://srdg.github.io'
baseurl: '/jekyll-uno'

to

url: 'https://soumik.netlify.com'
baseurl: ''

You can also stop publishing on gh-pages by going in repository settings and set Github Pages >> sources to none. This can avoid you to have duplicate content and SEO problems.