Describe the Bug
When using Federalist to build preview sites, the BASEURL environment variable does not include the preview site hostnames. This results in incomplete URLs, affecting og:url meta tags and social share links, which breaks indexing, sharing, and link generation functionalities on social media platforms.
Steps to Reproduce
Set up a Hugo site with the provided config.yaml configuration.
Deploy the Hugo site to Federalist.
Access the preview site generated by Federalist.
Inspect the generated HTML for the og:url meta tag and social share links.
Notice that the URLs do not include the complete preview site hostname.
Expected Behavior
The BASEURL should dynamically include the correct hostname for the preview sites, ensuring that og:url meta tags and social share links are complete and functional.
Screenshots
Current output for og:url on preview sites:
Describe the Bug When using Federalist to build preview sites, the
BASEURL
environment variable does not include the preview site hostnames. This results in incomplete URLs, affectingog:url
meta tags and social share links, which breaks indexing, sharing, and link generation functionalities on social media platforms.Steps to Reproduce
config.yaml
configuration.og:url
meta tag and social share links.Expected Behavior The
BASEURL
should dynamically include the correct hostname for the preview sites, ensuring thatog:url
meta tags and social share links are complete and functional.Screenshots Current output for
og:url
on preview sites:Expected output for
og:url
on preview sites:The hostname should be updated at each build.