-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Jekyll 4.0.0 scss Conversion error #7816
Comments
I don't think the use of |
I can reproduce this on a blank jekyll website, the error is triggered when front matter contains Trace isn't helpful:
|
I reproduced this same error by having an empty front matter but having the
|
@ashmaroli , there's no After a while, I found out the error is triggered when: I've reproduced the same error, here's the repository: |
@ddmayer What problem are we trying to solve here? Why do you need to put a path in a Sass file? |
@DirtyF I have event webpages in the folder 'event'. Every event page has its own assets. I think it would be easier to maintain if I store those assets respectively in each event page folder, like
In
so that I can refer to the image by something like
|
This comment has been minimized.
This comment has been minimized.
@DirtyF I don't think that's the issue here. Try quoting the values in the repo below: |
@ashmaroli yeah, the problem is that they key is called |
@ddmayer The actual reason behind this issue is the Liquid template caching mechanism incorporated in Jekyll 4.0 and existing Jekyll architecture. BackgroundJekyll allows overriding a Page's Lines 142 to 144 in d8de658
The caching mechanism caches template content for a given jekyll/lib/jekyll/liquid_renderer/file.rb Line 13 in d8de658
In the second snippet above, Line 80 in d8de658
Therefore when two Moving on..
Wish this issue had surfaced while we were still in the beta phase as well. IMO, the backwards-compatible solution for Jekyll 4.1 would be to introduce a mechanism to disable the Liquid template caching via the config file. |
This issue has been automatically marked as stale because it has not been commented on for at least two months. The resources of the Jekyll team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the latest If this is a feature request, please consider building it first as a plugin. Jekyll 3 introduced hooks which provide convenient access points throughout the Jekyll build pipeline whereby most needs can be fulfilled. If this is something that cannot be built as a plugin, then please provide more information about why in order to keep this issue open. This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions. |
I am getting a similar error (difference is that my front matter is empty but I am still getting this error). I opened a discussion question at the Jekyll Discussion page. See the link here for a code snippets and error messages, as well as a link to the repo and GitHub Code Space for testing/debugging (I did not want to copy and paste the discussion contents here but if it would be helpful I am happy to do that) |
This issue has been automatically marked as stale because it has not been commented on for at least two months. The resources of the Jekyll team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the latest If this is a feature request, please consider building it first as a plugin. Jekyll 3 introduced hooks which provide convenient access points throughout the Jekyll build pipeline whereby most needs can be fulfilled. If this is something that cannot be built as a plugin, then please provide more information about why in order to keep this issue open. This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions. |
I received a conversion error today with vanilla css framework from Ubuntu.
|
My Environment
jekyll
ruby
Current Behavior
I have front matters in my
main.scss
, here's the part of the codeWhen I run
jekyll serve
, it returns the error below:This doesn't happen when the front matter is empty.
In jekyll v3.8.6 , there's no this type of error.
The text was updated successfully, but these errors were encountered: