Liquid Exception: Invalid syntax for include tag
Rodrigodd opened this issue · 3 comments
Rodrigodd commented
After a long time, I tried to run my blog that uses this theme today, and I got the following error:
Configuration file: /home/rodrigodd/rodrigodd.github.io/_config.yml
To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
Source: /home/rodrigodd/rodrigodd.github.io
Destination: /home/rodrigodd/rodrigodd.github.io/_site
Incremental build: disabled. Enable with --incremental
Generating...
Remote Theme: Using theme jekyll/minima
Jekyll Feed: Generating feed for posts
Liquid Exception: Invalid syntax for include tag. File contains invalid characters or sequences: social-icons/.svg Valid syntax: {% include file.ext param='value' param2='value' %} in assets/minima-social-icons.html
jekyll 3.9.2 | Error: Invalid syntax for include tag. File contains invalid characters or sequences:
social-icons/.svg
Valid syntax:
{% include file.ext param='value' param2='value' %}
I didn't investigate why this is happening, but this appears to be introduced in 0ac17f8. Falling back to commit 41b9769 solves the problem.
tsunyinlam commented
I have faced the same issue as well
Can confirm falling back to commit solves the problem
childe commented
refer to #688
- { platform: github, user_url: "https://github.com/jekyll/jekyll" }
This issue could be closed @Rodrigodd @tsunyinlam
Rodrigodd commented
Oh, so it was only a breaking change. Updating _config.yml
fixed it, thanks.
I will pin to a specific commit from now on.