External links don't work in production

Hi,
I’m having this weird issue with external links on my Jekyll website:

http://www.anniek-lambrecht.be/

For example the top right link to Facebook (the icon) doesn’t link to my client Facebook-page, as it should, but to a white page on www.anniek-lambrecht!!

Apperently this is the case for all external links, like also the external link going to my clients Instagram-page.

In development these external links are working and pointing to the Facebook-page and Instagram page.

Does anybody have an idea what’s going on?

my repository is at: https://github.com/acandael/anniek

thanks for your help,

Anthony

hmmm, in the chrome inspector console it says:

Refused to display ‘https://www.facebook.com/pages/Anniek-Lambrecht-Schoonheidsspecialiste/531106993649513?ref=hl’ in a frame because it set ‘X-Frame-Options’ to ‘deny’.

Then if you inspect the source it looks weird, like a page within a page - there are two html elements, two head sections. The top one says something about Netlify, I’m guessing there is something wrong with the way that is setup, though I have never used it so no idea what.

1 Like

Thanks for your reply Ron. Apparently the issue was fixed by adding the target-attribute to the external links.

greetings,

Anthony