Sha256: 0d70e59e0c429a5652c25c0fab9bc7fba8499e6929eb0418b6f4ffdc0047df72

Contents?: true

Size: 741 Bytes

Versions: 6

Compression:

Stored size: 741 Bytes

Contents

<div class="posts-wrapper">
    {%- for post in site.posts -%}
    {%- capture current_year -%}{{ post.date | date: "%Y" }}{%- endcapture -%}
    {%- unless current_year == previous_year -%}
    <h1 class="posts-item-note" aria-label="Posts from {{ current_year }}">{{ current_year }}</h1>
    {%- assign previous_year = current_year -%}
    {%- endunless -%}
    <article class="post-item row">
        <div class="col-md-3">
            <span class="post-item-date">{{ post.date | date: "%b %d, %Y" }}</span>
        </div>
        <div class="col-md-9">
          <span class="post-item-title">
              <a href="{{ post.url }}">{{ post.title | escape }}</a>
          </span>
        </div>
    </article>
    {%- endfor -%}
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jscom_ice-0.0.7 _includes/yearly_content.html
jscom_ice-0.0.6 _includes/yearly_content.html
jscom_ice-0.0.5 _includes/yearly_content.html
jscom_ice-0.0.4 _includes/yearly_content.html
jscom_ice-0.0.3 _includes/yearly_content.html
jscom_ice-0.0.2 _includes/yearly_content.html