jekyll/minima

Liquid Exception: Invalid syntax for include tag

Rodrigodd opened this issue · 3 comments

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.

I have faced the same issue as well
Can confirm falling back to commit solves the problem

refer to #688

- { platform: github,  user_url: "https://github.com/jekyll/jekyll" }

This issue could be closed @Rodrigodd @tsunyinlam

Oh, so it was only a breaking change. Updating _config.yml fixed it, thanks.

I will pin to a specific commit from now on.