Lava Example - 61 | Rock Community

Lava Example - 28


Prompt

Now you know that your template has {{ Items }} available as a merge field. You're trying to show the title of the first entry, but this template isn't working. Get it fixed up!

Initial Code
{% assign item = Items %}

Our blog post is titled
{{ item.Title }}
Solution Lava
Our blog post is titled
{% for item in Items %}
  {{ item.Title }}
  {% break %}
{% endfor %}