Sha256: 18b80ac485fdbfdc622c8432a0a3b98fd3e91a712fc16c0da99f523156f441e1

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 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.cyclist.date_format | default: "%A, %b %-d, %Y" -%}
          {%- for post in site.posts %}
          {% 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

4 entries across 4 versions & 1 rubygems

Version Path
cyclist-0.6.0 _layouts/home.html
cyclist-0.5.0 _layouts/home.html
cyclist-0.4.0 _layouts/home.html
cyclist-0.3.0 _layouts/home.html