-
Notifications
You must be signed in to change notification settings - Fork 96
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
Issue with relative links in :dirty format #207
Comments
I'm not clear on what the problem is. Relative links will not always work; that is to be expected. If your current URL is
Are you using your own custom theme? None of the provided ones have post links under an "archives" heading in the sidebar -- just the |
Sorry for the confusion. I'm just using Cryogen does not generate any relative links. I understand that. What tripped me up is that I used relative links in my post, which worked fine running locally ( As mentioned, I solved this by just using a full url in both places, but this wouldn't have worked locally (because I haven't uploaded the files yet), so can be awkward to test before publishing. For example, resizing the image. I'm probably not making sense. I'll close this and try to submit a patch at some point. |
Apologies in advance if this isn't the right forum for this question, but I'm having some trouble understanding how the linking should work. I'm using cryogen for an AWS S3 static site. If I have a post on the front page, an
<img src="img/...png">
link will work, as will a link to a previous post (posts-output/xxxx.html). However, if I click on the same post in the sidebar (under archives) neither link works.I noticed this because I have a post in that position now, but I'm going to fix them with full (not relative links), but I want to understand whether relative links work. I'm not sure how they could ever actually work at both the index level and in the archives. Am I missing something? Is this a bug in the way
index.html
andposts-output/xxxx.html
are generated?Following the tips in this issue I've configured
:clean-urls
to:dirty
and:blog-prefix
to/
.The text was updated successfully, but these errors were encountered: