Sha256: 7297e61200d9c16d91c9634de894fa0f17d7e2a9e10a95c51e48f31035b1f59e

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

---
layout: default
---

<section id="hero">
  {{ content }}
</section> <!-- #hero -->

{% if site.paginate %}
  {% assign posts = paginator.posts %}
{% else %}
  {% assign posts = site.posts %}
{% endif %}

{% if posts.size > 0 %}
{% assign date_format = site.date_format %}
  <section id="post-listing">
    <header id="post-listing-header">
      <h2 id="post-listing-heading">
        {{ posts.list_title | default: "Posts" }}
      </h2> <!-- #post-listing-heading -->
    </header> <!-- #post-listing-header -->
    <ul class="post-list">
      {% for post in posts %}
        <li class="post-item">
          <span class="post-meta">{{ post.date | date: date_format }}</span>
          <h3>
            <a class="post-link" href="{{ post.url | relative_url }}">
              {{ post.title | escape }}
            </a>
          </h3>
          {%- if site.show_excerpts -%}
            {{ post.excerpt }}
          {% endif %}
        </li> <!-- .post-item -->
      {% endfor %}
    </ul> <!-- .post-list -->
  </section> <!-- #post-listing -->
{%- endif -%}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-theme-simpleton-0.5.0 _layouts/home.html
jekyll-theme-simpleton-0.4.0 _layouts/home.html