Links on homepage to methods don't work
juliaklindpaintner opened this issue · comments
The links under "Methods include" are not working. It looks like it's prepending "site/18f/" unnecessarily: https://methods.18f.gov/site/18f/methods/cognitive-walkthrough/
When run locally, it works correctly.
This issue comment is from 2015, but I wonder if it's related to this. Since baseurl
isn't defined in the repo's config file, I wonder if it's coming in from the gem when it hits Federalist.
Looks like the path imposed by Federalist environment variables:
- SITE_PREFIX: the S3 bucket "path" that the site files will be published to. It should not have a trailing or prefix slash.
- for the live site: site/<OWNER>/<REPOSITORY>.
- for the demo site: demo/<OWNER>/<REPOSITORY>.
- for branch previews: preview/<OWNER>/<REPOSITORY>/<BRANCH>.
- BASEURL: the base URL that will be used by the build engine to determine the path for site assets.
- for a live site with a custom URL, this will be empty.
- for anything else, it will be the same as SITE_PREFIX but with a / at the beginning. ex: /site/<OWNER>/<REPOSITORY>.
@amirbey fixed this today.
Yay! Thank you so much!