Sha256: 2861bd8986824a258b973f75d917fdc8335e62f8ebbed182f107d80f51e0638b

Contents?: true

Size: 920 Bytes

Versions: 2

Compression:

Stored size: 920 Bytes

Contents

---
layout: page
title: Jekyll Theme
---

<div class="home" id="home">

  <ul class="posts noList" id="results-container">
    {% for post in paginator.posts %}
      <li>
          <span class="date">{{ post.date | date: '%B %d, %Y' }}</span>
          <h3><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h3>
          <p>{% if post.description %}{{ post.description }}{% else %}{{ post.excerpt | strip_html }}{% endif %}</p>
      </li>
    {% endfor %}
  </ul>
  <!-- Pagination links -->
  <div class="pagination">
    {% if paginator.previous_page %}
      <a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="previous button__outline">Newer Posts</a> 
    {% endif %}
    {% if paginator.next_page %}
      <a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="next button__outline">Older Posts</a>
    {% endif %}
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sora-elegant-theme-0.1.3 _layouts/home.html
sora-elegant-theme-0.1.2 _layouts/home.html