Migrating from GitHub Pages to GitLab, support needed

Hi all, I’m sorry if I’m reporting this in the wrong place to post.

I’m trying to migrate my GitHub pages Jekyll website to GitLab and I’ve had success to get it up and running. Tven that took hours to work out and I finally worked out how to use the CI thingy (kinda).

Anyway, there are a few things I still cannot work out and rather than spend another few hours, I thought I would ask the experts. 2 things I’m having trouble with,

  1. favicon no longer shows up - I did some googling and it said I needed to do something with a jekyll-seo-tag thing but that broke the site so I reverted back.
  2. some images are not showing on my pages - I cannot work out what is going wrong with my relative paths.

Gitlab repo: https://gitlab.com/philipwong/p2635-github-io/issues/5

Once that branch is all good, I will merge with master and then connect my domain to it. Thanks in advance!

I worked out number 2, but I still can’t work out number 1

I don’t use any plugins, as far as I know there is nothing special about the favicon - if it is in the root of your site and named favicon.ico i think it should show automatically. That said I specifically load it with this line in the head:

<link rel="shortcut icon" href="/plp-favicon.ico">

if it is in the root of your site and named favicon.ico i think it should show automatically.

So should it show even if you remove that line? <link rel="shortcut icon" href="/plp-favicon.ico">

Depends on the browser and what filename they are expected. If you have it named how they want then they’ll pick it up if it’s in the server root.

This method is discouraged though, see method 2 on this page for more detail.

https://www.w3.org/2005/10/howto-favicon