Sha256: c5540740133898d46622cd5e8cff785a8149da3f5579cd7e47c856abcaa33e61

Contents?: true

Size: 724 Bytes

Versions: 2

Compression:

Stored size: 724 Bytes

Contents

---
layout: default
---

<div class="home">

  <div class="home-main">
    {{ content }}
  </div>

  <!-- Latest posts shown if posts exist... -->
  {% if site.posts.size > 0 %}
  <div class="home-latest-posts">
    <h1 class="page-heading">Latest Posts</h1>
    <ul class="post-list">
      {% for post in site.posts limit:site.latest_post_count %}
        <li>
          {% assign date_format = site.date_format | default: "%b %-d, %Y" %}
          <span class="post-meta">{{ post.date | date: date_format }}</span>

          <h2>
            <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
          </h2>
        </li>
      {% endfor %}
    </ul>
  </div>
  {% endif %}

</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
grey-energy-theme-0.0.1 _layouts/home.html
grey-energy-theme-0.0.0 _layouts/home.html