-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
Vector images not generating webp files #2660
Comments
If it looks for converted svg files it means that the How are you adding the svg image to the post? Using |
Yes I am using In the I have multiple images and Imagegick is converting all of them, but there is no log for any of my svg files which leads me to believe they are ignored when generating images. |
If you check al-folio/_includes/figure.liquid Line 17 in de4e89d
it creates a al-folio/_includes/figure.liquid Line 1 in de4e89d
and if it is not, don't add |
Ok will look into it |
The faulty |
I just took a look, the is not a fault in the code. |
What do you mean? Liquid files are processed during jekyll build. |
I am asking if the you have written some code to dictate the processing of liquids or is it done automatically by jekyll. If it is done automatically then its an issue we will need to have to forward to the ones maintaining jekyll or liquid language. |
Basically what I mean is that liquid has a feature where it automatically adds closing tags which it thinks are missing. The creators of Liquid must have accidentally set |
Every file that starts with a frontmatter
is processed by jekyll during build. |
@george-gca, that's exactly what I meant. Jekyll processes liquid files right? |
Right now I am working on adding repos to projects. When I am done I will fix the issue with vector images and then send a pull request. |
No, I haven't. Actually liquid is a template language that jekyll uses. |
Yeah I read about all that. I also found at that liquid has this neat feature where it auto-closes missing tags. |
Added a default srcset in case extension is other than the following: - .jpg - .jpeg - .png - .tiff - .gif fixed alshedivat#2660
Have you checked that your issue isn't already filed?
Bug description
al-folio doesn't convert ".svg" files to ".webp" files. ".svg" files are small and their quality isn't lost when being displayed so not converting it is the best option. I should also mention that the images are displayed on the website without any faults. The issue which I want to bring forth is the error logs. The workflow "Check for broken links on site" produces an error log which should not be generated.
How to reproduce the bug
.svg
file inassets/img/
Check for broken links on site
Error messages and logs
What operating system are you using?
Not applicable (e.g. you're using GitHub Pages or other hosting)
Where are you seeing the problem on?
Deployed site
More info
I suggest to create an exception case to not search for converted .svg files
The text was updated successfully, but these errors were encountered: