-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Symbolic link error shown but link as root folder is followed and works #1855
Comments
Just tested this on OS X, and I get the error ... but I also don't get the content created. I believe we could make this work, but I cannot see how it could right now, even on Windows .... |
I was pretty carefult in testing. I put the word symlink in the content of a content_src folder, and then created a symlink content to that folder. This was built by Hugo, with the error shown, and with the content generated. Unless Hugo took the content from content_src ? Is this possible? Using the word 'content' in this folder name was probably not the best idea. I'll test again with the content_src with a different name and location. |
It doesn't really matter -- the pull request that is referenced to this issue should fix this issue for both you and me. |
Note: This is for the content roots only, but that should satisfy most needs. Fixes gohugoio#1855
Note: This is for the content roots only, but that should satisfy most needs. Fixes gohugoio#1855
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
In Windows 7 x64, created symlink content in Hugo source folder to content_src which contained content to be generated.
Hugo throws error on build: 'Symbolic links not supported'. However the content from content_src is generated as normal (so in this case, symobilic links work).
Solution: remove error when symbolic link is a root folder, leave it as-is for all other cas
The text was updated successfully, but these errors were encountered: