Liquid syntax error

layout: professionals
permalink: richard-l-robertson/

{% for data in %}

{{ data.title }}

{{ data.subtitle }}

{{ data.text }}
{% if data.button_text %} {% endif %}

{{ }}

{{ data.text_1 }}
{% endfor %}

git bash keeps saying "Liquid syntax error (line 14): [:end_of_string] is not a valid expression in "{{ }}"
line 14 is this

{{ data.button_text }}

cant seem to understand what the issue is

hard to read like that.

why are there empty {{ }}?

In addition to what @rdyar said, it would help to at least see the structure of your _data/ directory and a sample code of one of the files.

The error is telling you (as far as I understand it) that you are not allowed to have those empty brackets. :confused: