Sha256: e1a1ae4baad712e1464cdd806ecb3a5375543c2831294ba3323d31f69deb22fc

Contents?: true

Size: 1.2 KB

Versions: 5

Compression:

Stored size: 1.2 KB

Contents

---
layout: default
---

        {%- if page.title %}
        <header id="page-title">
          <h1>{{ page.title }}</h1>
        </header>
        {%- endif -%}
{{ content }}

        {%- if site.posts.size > 0 %}
        <section id="posts">

          {%- assign date_format = site.gyrocycle.date_format | default: "%A, %b %-d, %Y" -%}
          {%- assign posts_limit = site.posts_limit | default: "20" %}
          {%- for post in site.posts limit: posts_limit %}
          {% if current_date != post.date and current_date %}
          <hr>
          {% endif %}
          {% if current_date != post.date %}
          <h2 class="post-date"><time datetime="{{ post.date | date: "%Y-%m-%d" }}">{{ post.date | date: date_format }}</time></h2>
          {% endif %}
          {%- assign current_date = post.date %}

          <article class="{{ post.layout | default: "Post" }}">
            <header>
              <h1><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h1>
            </header>

{% if site.show_excerpts -%}
{{ post.excerpt }}
{%- endif -%}
{%- if site.show_contents -%}
{{ post.content }}
{%- endif %}
          </article>
          {%- endfor %}

        </section>
        {% endif -%}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gyrocycle-0.0.5 _layouts/home.html
gyrocycle-0.0.4 _layouts/home.html
gyrocycle-0.0.3 _layouts/home.html
gyrocycle-0.0.2 _layouts/home.html
gyrocycle-0.0.1 _layouts/home.html