Fixed social sharing buttons in the zer0-mistakes theme to use production URLs instead of localhost URLs, resolving 353 unique broken URLs across the it-journey site.
Social sharing buttons were using Jekyll’s absolute_url filter, which resolves to localhost in development environments:
http://0.0.0.0:4002/...https://it-journey.dev/...This caused link health checks to report 353 broken URLs for social sharing buttons.
_includes/content/intro.htmlBefore:
https%3A%2F%2Fit-journey.dev%2Flink-check-results%2FTHEME_FIXES%2F
https://it-journey.dev/link-check-results/THEME_FIXES/
After:
https%3A%2F%2Fit-journey.dev%2Flink-check-results%2FTHEME_FIXES%2F
https://it-journey.dev/link-check-results/THEME_FIXES/
Changed Buttons:
_layouts/notebook.htmlBefore:
https://it-journey.dev/link-check-results/THEME_FIXES/
After:
https://it-journey.dev/link-check-results/THEME_FIXES/
Changed Buttons:
Repository: bamr87/zer0-mistakes
Branch: fix/social-button-urls
PR: https://github.com/bamr87/zer0-mistakes/pull/15
Commit: 866e26b
site.url from Jekyll config instead of runtime-resolved absolute_urlbundle exec jekyll build_site/ for social button URLshttps://it-journey.dev/ instead of http://0.0.0.0:4002/https://it-journey.dev/posts/example-post/bundle update in it-journey repoBefore Theme Fix:
After Theme Fix (Expected):
absolute_url usage in share buttonsVersion: 1.0
Date: 2025-12-12
Author: bamr87
Status: Complete (PR created, awaiting merge)