{% for book in site.data.books %}
    {% if book.deeplink == page.url %}
        {% capture bookArrayContent %}
            {{ book.author }}|{{ book.img }}|{{ book.url }}
        {% endcapture %}
    {% endif %}
{% endfor %}
{% assign bookArray = bookArrayContent | split: '|' %}

<div class="metadata">
    <div class="flex-container">
        <img class="book-cover" src="{{ bookArray[1] }}">
        <div class="book-metadata">
            <h1>{{ page.title }}</h1> 
            <div class="sans book-author"