Mmistakes local url for the twitter button

In _config.html I have:
baseurl: “/faune_flore_meyrin”
repository: “jphconstantin/faune_flore_meyrin”

In github, when I click the twitter button in a post (single.html -> social-share.html), I see the following url:ézard+des+murailles - Podarcis muralis http%3A%2F%2Flocalhost%3A4000%2Ffaune_flore_meyrin/faune/reptiles/vernes/2020/10/09/P1120896.html
I was expecting:… instead of http://localhost:4000/faune_flore_meyrin

Missing parameter(s) from my part ?

Note: I empty the cache before to test …

Possibly you’re not building your site in production mode? Ref below:

JEKYLL_ENV=production jekyll build
1 Like

You are right !!! I didn’t know this option …

1 Like