This repository has been archived by the owner on Jun 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 163
Virtual Directory Support and Protocol-relative URLs #367
Comments
Thanks for the issue! :) |
@laedit, you're welcome, and thank you for looking at this. Perhaps one day I'll have a chance to contribute. This concept is entirely new to me. I heard about Pretzel from Plural Sight. |
@laedit the last PR's for the global tool are in the making (around weekend), probably I'll look into that |
@biohazard999 Thanks! :D |
@foundinhim No problem. |
@laedit, It is mentioned as one of the alternatives to Jekyll in Serverless Web Applications |
Thanks for the link! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Virtual directory support incorrectly prepends the virtual directory to protocol relative URLs
To Reproduce
pretzel create --t=razor --withproject
pretzel bake --cleantarget --t=razor --destination=docs --vDir=somesite.github.io
This produces
<link rel="stylesheet" href="/somesite.github.io//cdn.jsdelivr.net/highlight.js/8.4/styles/default.min.css" />
Expected behavior
I would expect the virtual directory option to ignore protocol-relative URLs.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: