layout: default category: home


<div class=“content-container”>

<div class="post-feed">
    {{ content }}
    {% for post in paginator.posts %}
    {% if post.categories contains page.category %}
    <hr>
    <article>
        <header>
            <p class="article-date">{{ post.date | date: "%Y-%m-%d" }}</p>
            <h2>
                {% if post.external_url %}
                <a href="{{ post.external_url | relative_url }}" target="_blank">
                    {% else %}
                    <a href="{{ post.url | relative_url }}">
                        {% endif %}
                        {{ post.title }}
                    </a>
            </h2>
        </header>
        <section>
            <figure>
                <img src="{{ post.image | relative_url }}" alt="{{ page.image_alt }}" class="post-feed_image" />
            </figure>
            <p>
                {{ post.description }}
            </p>
        </section>
        {% include read-more.html currPost=post %}
    </article>
    {% else %}
    <hr>
    <article>
        <header>
            <p class="article-date">{{ post.date | date: "%Y-%m-%d" }}</p>
            <h2>
                {% if post.external_url %}
                <a href="{{ post.external_url | relative_url }}" target="_blank">
                    {% else %}
                    <a href="{{ post.url | relative_url }}">
                        {% endif %}
                        New release: {{ post.title }}
                    </a>
            </h2>
        </header>
        {% include discography-entry.html currPost=post %}
    </article>

    {% endif %}
    {% endfor %}
    {% include pagination-buttons.html %}
</div>

</div>