"Variable not found" error in liquid html

Knowledge Drop

Last tested: Jul 3, 2018

One reason you might get this error in liquid is if you use {{ }} and {% %} at the same time, like this:

{% if value > {{ search_latency_top_hr.limit_95._value }} %}

The appropriate way to do this is this:

{% if value > search_latency_top_hr.limit_95._value %}

Docs