fork environments: pathPrefix #1762
Unanswered
shawnthompson
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would be the best way to setup a pathPrefix variable for anyone who forks our GitHub.io repo?
The idea is to have our main repo and anyone who creates a pull request would fork it, make their change and preview it on their fork with gh-pages and submit the url as a way to review the change. On the origin repo the
pathPrefix
would be set to default/
but on a fork it would be set to the repo namepathPrefix : "/gc-da11yn.github.io/"
.Background
Project: Digital Accessibility Toolkit
We are creating a website using 11ty to share content between government departments so we will hopefully have many contributors. Although a lot of them will have basic git / Github knowledge so we are trying to make the process as simple as possible to setup and contribute.
I am the lead of the project and and a new to 11ty but loving it so far!
Stay safe!
Beta Was this translation helpful? Give feedback.
All reactions