Sha256: ef83581b2709a0f4d528d45d56952a1037706a5f634b7671f2c8d8e4ff9e3a4a

Contents?: true

Size: 1.24 KB

Versions: 2

Compression:

Stored size: 1.24 KB

Contents

---
layout: default
---
<html lang="{{ page.lang | default: site.lang | default: "en_US" }}">

  {% include head.html %}

  <body class="site">

    {% include header.html %}

    <div class="hero">
      <div class="hero__wrap">
        <h1 class="hero__title">Sleek theme</h1>
      </div>
    </div>
    <main class="site__content">
      <section class="blog">
        <div class="container">

          <div class="post-list">
            {% for post in site.posts %}
              <a class="post-card" href="{{ post.url | relative_url }}">
                <img src="./assets/img/shane-rounce-205187.jpg" alt="{{post.title}}"/>
                {% if post.featured-img %}
                  <div></div>
                {% endif %}
                <div class="post-card--inner">
                  <h2>{{ post.title | escape }}</h2>
                  {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
                  <time class="post-card--meta">{{ post.date | date: date_format }}</time>
                  <p>{{ post.content | strip_html | truncatewords:20 }}</p>
                </div>
              </a>
            {% endfor %}
          </div>

        </div>
      </section>
    </main>

    {% include footer.html %}

  </body>

</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-sleek-0.1.1 _layouts/default.html
jekyll-sleek-0.1.0 _layouts/default.html