Sha256: 506d05388f214a20fd3a6e854f6e2c9776c3b9d4144bc2adf3e4a6f9b9486643

Contents?: true

Size: 825 Bytes

Versions: 6

Compression:

Stored size: 825 Bytes

Contents

---
layout: contained
---
{% assign data = site.collections | where: "label", page.collection | first %}

<div class="animation-wrapper">
{% for post in data.docs %}
{% if post.featured %}
<a class="fade-in pb-7 d-block" href="{{ post.url }}">
  <div class="row">
    <div class="col">
      <h1 class="display-4 text-center mb-0">{{ post.title }}</h1>
      <p class="text-center text-info text-lg">{{ post.sub_title }}</p>
      {% if post.img_h %}<img src="{{ post.img_h }}" class="img-fluid" alt="{{ post.title }}">{% endif %}
    </div>
  </div>
  <div class="row">
    <div class="col-8 offset-2">
      <p class="text-lg mt-3">{{ post.excerpt }}</p>
      {% if post.btn_text %}<a class="btn btn-primary" href="{{ post.url }}">{{ post.btn_text }}</a>{% endif %}
    </div>
  </div>
</a>
{% endif %}
{% endfor %}
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hardpool-flat-3.1.0 _layouts/posts.html
hardpool-flat-3.0.0 _layouts/posts.html
hardpool-flat-2.2.0 _layouts/posts.html
hardpool-flat-2.1.0 _layouts/posts.html
hardpool-flat-2.0.0 _layouts/posts.html
hardpool-flat-1.0.0 _layouts/posts.html