Sha256: 89a4750c02790269c4efd39db4b52c5b5674626f1f656b0104b6d7c403a433ee

Contents?: true

Size: 1.11 KB

Versions: 1

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>{{ 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

1 entries across 1 versions & 1 rubygems

Version Path
cyclist-0.2.0 _layouts/home.html