Sha256: f4193937968521c880ec1dbe2f854f2c761439431386514d0e9cc4775a2e732d

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

---
layout: default
---

<div class="frontpage">
    {% for post in paginator.posts %}
        <div class="frontpage-item">
            <a href="{{ post.url | prepend: site.baseurl }}">
                <h3 class="title is-3">{{ post.title }}</h3>
            </a>
            <time datetime="{{ post.date }}" class="frontpage-time has-text-grey-light">{{ post.date | date: "%B %d, %Y" }}</time>

            <p class="show-if-mobile">
                {{ post.content | truncatewords: 60 | strip_html }}
            </p>

            <p class="frontpage-item-readmore">
                <a href="{{ post.url | prepend: site.baseurl }}" class="button is-{{ site.color }}">
                   <strong>Read more</strong>
                </a>
            </p>
            <br><br>
        </div>
    {% endfor %}
</div>

<div class="pagination">
  {% if paginator.previous_page %}
    <a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="left-arrow">&#8592;</a>
  {% endif %}

  {% if paginator.next_page %}
    <a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="right-arrow">&#8594;</a>
  {% endif %}

  <span class="page-number">{{ paginator.page }}</span>
  
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blue-jekyll-theme-0.3.2 _layouts/home.html