right now because those are straight up HTMl files that are then wrapped with XSL, I have hardcoded "whitman-dev" into the paths. Eventually we will probably want to use the XSL wrapper to change that to the appropriate path depending on whitman dev or whitman production, or use javascript to determine the correct path, etc, although that seems like a less desirable option.
OKAYY I have this cooking now by grabbing the hostname out of the URL and creating the path based on that. It's not a great solution, but it is working!
right now because those are straight up HTMl files that are then wrapped with XSL, I have hardcoded "whitman-dev" into the paths. Eventually we will probably want to use the XSL wrapper to change that to the appropriate path depending on whitman dev or whitman production, or use javascript to determine the correct path, etc, although that seems like a less desirable option.