-
Notifications
You must be signed in to change notification settings - Fork 9
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
baseurl not prepended to links/resources for sites not deployed at root of a domain #73
Comments
Sean from what I can see you have not modified the I am able to reproduce and fix this locally as such, but it for some reasons requires a trailing slash on the base URL. I have sniffed around a little and not discovered a way to address this issue without controling your webserver (as you obviously don't with GH Pages). I think this doesn't really resolve your main problem, though, which is that you want to skip the landing page. Unfortunately, the AsciiDocsy Docs/Demo site itself has URLs hard-coded all over the place that use the domain-root reference That said, if you make your own site with your own permalinks and xrefs, this will still work. You just have to include your baseurl in your paths. |
@briandominick Just pushed a commit with the I don't mind dealing with a landing page for now, just not sure how to debug this rendering issue. |
Sorry I forgot to tell you to prepend the slash:
|
@briandominick that did the trick! https://capsulecorplab.github.io/asciidocsy-jekyll-theme/ |
Closing issue, since I'd consider this resolved! |
I spoke too soon. Some of the links and assets aren't recognizing the baseurl, s.a, the Documentation link |
Yeah like I said those links are hard coded. The demo site is only supposed to serve at a domain root, but you can write your links differently. Which assets are still broken. Images inside content? |
How should one go about writing the links differently, such that the baseurl becomes part of the links? |
To resolve this you'd need to edit the value of For links, I guess you'd need to replace every instance of The |
I've tried running a local build of the asciidocsy theme via a docker image running ruby v2.6 & bundler v2.2.15, but can't seem to get it to properly render. (see option 1 on capsulecorplab/asciidoctor-docker#3 (comment))
Otherwise, the local Jekyll server seems to work fine
The text was updated successfully, but these errors were encountered: