baseurl and url compatibility boundary between Jekyll 4.x local builds and GitHub Pages production
A site is built with Jekyll 4.x locally and intended for deployment to GitHub Pages production. The goal is consistent asset and link generation across the two environments. The configuration involves site.url and site.baseurl for absolute and relative links, conditional content controlled by JEKYLL_ENV , and plugin availability. Local development often uses