Sha256: b8fbfc54b2158a4f691ce7b854f8644cea670186c701684329fb6f0a4ae4d4d0

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

{%- if site.paginate -%}

{%- assign posts = paginator.posts -%}

{%- else -%}

{%- assign posts = site.posts -%}

{%- endif -%}

{%- if posts.size > 0 -%}

{%- assign date_format = site.date_format -%}

<section id="post-listing">
    <header id="post-listing-header">
        <h2 id="post-listing-heading">

            {{- posts.list_title | default: "Posts" -}}

        </h2> <!-- #post-listing-heading -->
    </header> <!-- #post-listing-header -->
    <ul class="post-list">

        {%- for post in posts -%}

        <li class="post-item">
            <span class="post-meta">

                {{- post.date | date: date_format -}}

            </span>
            <a class="post-link" href="{{ post.url | relative_url }}">
                {{ post.title | escape }}
            </a>

            {%- if site.show_excerpts -%}

            <div class="post-excerpt">

                {{- post.excerpt -}}

            </div>

            {%- endif -%}


        </li> <!-- .post-item -->

        {%- endfor -%}

    </ul> <!-- .post-list -->
</section> <!-- #post-listing -->

{%- endif -%}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-simpleton-0.10.0 _includes/post-listing.html