{% if status.content == 'wants to read' %} {% include 'snippets/status/headers/to_read.html' with book=status.mention_books.first %} {% endif %} {% if status.content == 'finished reading' %} {% include 'snippets/status/headers/read.html' with book=status.mention_books.first %} {% endif %} {% if status.content == 'started reading' %} {% include 'snippets/status/headers/reading.html' with book=status.mention_books.first %} {% endif %}