Jekyll "Liquid Exception" build failure in CI
Jekyll renders pages through Liquid, and a tag or filter raised an exception. The message names the file and the Liquid construct that failed (an unknown tag, a missing include, or a method called on the wrong type).
What this error means
jekyll build fails with "Liquid Exception: ... in FILE" describing the failing tag or filter, and the build stops.
jekyll
Liquid Exception: Unknown tag 'highlightt' in _posts/2026-06-01-intro.md
Error: Run jekyll build --trace for more informationCommon causes
An unknown Liquid tag or filter
A typo in a tag name (or a tag from a plugin not installed) makes Liquid raise "Unknown tag".
A missing include or undefined method
An {% include %} of a file that does not exist, or a filter applied to nil, raises a Liquid exception during render.
How to fix it
Run with --trace and fix the construct
- Re-run
jekyll build --traceto see the full backtrace and file. - Fix the tag name, restore the missing include, or guard the nil value.
- Rebuild.
Terminal
bundle exec jekyll build --traceInstall the plugin that provides the tag
If the tag comes from a plugin, add it to the Gemfile and plugins so Liquid recognizes it.
Gemfile
# Gemfile
gem "jekyll-feed"How to prevent it
- Use
--traceto get the full backtrace for Liquid errors. - Install plugins that register custom tags or filters.
- Guard filters against nil values in templates.
Related guides
Jekyll "Conversion error: kramdown" in CIFix Jekyll "Conversion error: Jekyll::Converters::Markdown encountered an error while converting" in CI - kra…
Jekyll "Bundler could not find compatible versions for github-pages" in CIFix Bundler "Could not find compatible versions for gem ..." with the github-pages gem in CI - a pinned Jekyl…
MkDocs "Aborted with a BuildError" in CIFix MkDocs "Aborted with a BuildError!" in CI - a strict build or a plugin raised a fatal error. The specific…