{% for book in site.data.books %}

{% if book.title == page.title and book.author == page.author %}
Escrita por 
{% for author in site.authors %}{% if author.title == book.author %}<a href="{{ author.url | relative_url }}" class="morel">{% endif %}{% endfor %}{{ book.author }}</a>

{% if book.author2 %} +

{% for author in site.authors %}{% if author.title == book.author2 %}<a href=“{{ author.url | relative_url }}” class=“morel”>{% endif %}{% endfor %}

{{ book.author2 }}</a>

{% endif %}

{% if book.author3 %} +

{% for author in site.authors %}{% if author.title == book.author %}<a href=“{{ author.url | relative_url }}” class=“morel”>{% endif %}{% endfor %}

{{ book.author3 }}</a>

{% endif %}
//
 Publicada en {% if book.city %}{% for city in site.cities %}{% if city.title == book.city %}<a href="{{ city.url | relative_url }}" class="morel">{% endif %}{% endfor %}{{ book.city }}{% endif %}</a>
  por {% for publisher in site.publishers %}{% if publisher.title == book.publisher %}<a href="{{ publisher.url | relative_url }}" class="morel">{% endif %}{% endfor %}{{ book.publisher }}</a>
  en {{ book.edition }}{% if book.1edition %} // Publicada por primera vez en {{ book.1edition }}{% endif %} //
  Recuperada por {% for repository in site.repositories %}{% if repository.title == book.repository %}<a href="{{ repository.url | relative_url }}" class="morel">{% endif %}{% endfor %}{{ book.repository }}</a>{% if book.rep2 %} + {% for repository in site.repositories %}{% if repository.title == book.rep2 %}<a href="{{ repository.url | relative_url }}" class="morel">{% endif %}{% endfor %}{{ book.rep2 }}</a>{% endif %}

{% endif %}

{% endfor %}