Sha256: 19c26d5f5a2e7e4cb0ce51de30c6f2268ef28ea29e37497b40c155b84d0cd3b1

Contents?: true

Size: 790 Bytes

Versions: 38

Compression:

Stored size: 790 Bytes

Contents

{%-if include.category-%}
  {%-assign posts = site.categories[include.category]-%}  
{%-else-%}
  {%-assign posts = site.posts-%}
{%-endif-%}

{%-if include.limit and posts.size > include.limit-%}
  {%-assign limit_exceeded = true-%}
{%-else-%}
  {%-assign limit_exceeded = false-%}
{%-endif-%}

{%- if posts.size > 0 -%}
  <ul>
    {%- for post in posts limit: include.limit -%}
        <li>
          <span>{{- post.date | date: site.theme_config.date_format -}}</span>
          <a href="{{ post.url | relative_url }}">{{ post.title | downcase }}</a>
        </li>
    {%- endfor -%}
    {%- if include.show_more and limit_exceeded -%}
      <li><a href="{{ include.show_more_url }}">{{ include.show_more_text | default: "Show more..." }}</a></li>
    {%- endif -%}
  </ul>
{%- endif -%}

Version data entries

38 entries across 38 versions & 4 rubygems

Version Path
no-style-please-0.4.8 _includes/post_list.html
no-style-please2-0.9.1 _includes/post_list.html
no-style-please2-0.9.0 _includes/post_list.html
no-style-please2-0.8.1 _includes/post_list.html
no-sommer-style-please-0.4.8 _includes/post_list.html
no-style-please2-0.8.0 _includes/post_list.html
no-style-please2-0.7.5.1 _includes/post_list.html
no-style-please2-0.7.5 _includes/post_list.html
no-style-please2-0.7.4.5 _includes/post_list.html
no-style-please2-0.7.4.4 _includes/post_list.html
no-style-please2-0.7.4.3 _includes/post_list.html
no-style-please2-0.7.4.2 _includes/post_list.html
no-style-please2-0.7.4.1 _includes/post_list.html
no-style-please2-0.7.4 _includes/post_list.html
no-style-please2-0.7.3 _includes/post_list.html
no-style-please2-0.7.2 _includes/post_list.html
no-style-please2-0.7.1 _includes/post_list.html
no-style-please2-0.7.0 _includes/post_list.html
no-style-please2-0.6.4 _includes/post_list.html
no-style-please2-0.6.3.2 _includes/post_list.html