Sha256: fc43b57ea770bf370966c78a46bc858015400bdbba8a307ce29e8d21be647ef1

Contents?: true

Size: 1.01 KB

Versions: 16

Compression:

Stored size: 1.01 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="archive">

          {%- assign date_format = site.cyclist.date_format | default: "%b, %Y" -%}
          {%- for post in site.posts %}
          {% assign post_date = post.date | date: date_format -%}
          {% if current_date != post_date and current_date %}
          </ul>
          {% endif -%}
          {%- if current_date != post_date %}
          <h2 class="post-date"><time datetime="{{ post.date | date: "%Y-%m" }}">{{ post_date }}</time></h2>
          {% assign current_date = post_date -%}
          <ul>
          {%- endif %}
            <li class="{{ post.layout | default: "Post" }}">
              <h1><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h1>
            </li>
          {% endfor %}
          </ul>

        </section>
        {% endif -%}

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
cyclist-jekyll-0.11.6 _layouts/archive.html
cyclist-jekyll-0.11.5 _layouts/archive.html
cyclist-jekyll-0.11.4 _layouts/archive.html
cyclist-jekyll-0.11.3 _layouts/archive.html
cyclist-jekyll-0.11.2 _layouts/archive.html
cyclist-jekyll-0.11.1 _layouts/archive.html
cyclist-jekyll-0.11.0 _layouts/archive.html
cyclist-jekyll-0.10.1 _layouts/archive.html
cyclist-jekyll-0.10.0 _layouts/archive.html
cyclist-0.9.0 _layouts/archive.html
cyclist-0.8.0 _layouts/archive.html
cyclist-0.7.7 _layouts/archive.html
cyclist-0.7.6 _layouts/archive.html
cyclist-0.7.5 _layouts/archive.html
cyclist-0.7.4 _layouts/archive.html
cyclist-0.7.3 _layouts/archive.html