-
Notifications
You must be signed in to change notification settings - Fork 73
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
Use of absolute/relative URLs #40
Comments
Hi @bastibe I believe there might be a misunderstanding of what @winny- was flagging as an issue in the closed PR. My understanding is (and @winny- correct me if I am wrong) that the problem is in
Issues with such approach that @winny- mentioned:
Examples of where this function used: My proposed solution is to separate the notion of
Example: Say your blog is hosted on
To make it all work we will need to update Before: (defun org-static-blog-get-absolute-url (relative-url)
(concat org-static-blog-publish-url relative-url)) After: (defun org-static-blog-get-absolute-url (relative-url)
(concat org-static-blog-publish-subdirectory relative-url)) Backwards compatibility: we will need to change The default value of Hope it makes sense |
Ah, I see. I wasn't aware that you can have absolute URLs ( |
Continued from #37
The reason for the absolute URLs in org-static-blog is that we avoid re-exporting posts as much as possible. We do this by rendering each page once, and simply copying content from the posts to the summary pages (index, rss). If we don't do this,
org-static-blog-publish
takes ages (as it did in the past).I'm open to suggestions, though.
The text was updated successfully, but these errors were encountered: