Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with links missing site domain. #1204

Closed
wants to merge 2 commits into from

Conversation

aholmes
Copy link
Contributor

@aholmes aholmes commented Jun 28, 2023

Description

site.url is empty causing all links to exclude the site domain. This causes issues with "social" share buttons.

Jekyll appears to have been misconfigured. site.url should be the domain/protocol/etc. while site.baseurl should be the root directory that the site is served from. In this case, the site is served from / so site.baseurl should be empty.

Removing the script that alters the config and updating site.url fixes the share buttons and leaves any usages of site.baseurl unchanged.

Closes #1201

Checklist:

  • I have previewed changes locally or with CircleCI (runs when PR is created)
  • I have completed any content reviews, such as getting input from relevant working groups. If no, please note this and wait to post the PR to the #website channel until the content has been settled.

- Attempt to update `site.url` variable during circleci build.

Closes USRSE#1201
`site.url` does not contain the domain of the site, which breaks social buttons.
This attempts to resolve what looks like a misconfiguration of Jekyll to correctly generate the URLs.

Closes USRSE#1201

Remove unused script.

Closes USRSE#1201

Fix typo in domain.

Closes USRSE#1201
@aholmes aholmes marked this pull request as draft June 28, 2023 21:29
@aholmes aholmes closed this Jun 28, 2023
@aholmes aholmes deleted the 1201_fix_site_url branch June 28, 2023 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Facebook and LinkedIn "Share buttons" on blog posts are broken
1 participant