Sha256: 2bf02a497e19657bc2bd527704ae1fe1fd68a5bb59ad00cc6ef2ffe3cb26b68a

Contents?: true

Size: 902 Bytes

Versions: 5

Compression:

Stored size: 902 Bytes

Contents

---
layout: default
---
<main>
    <nav class="list">
        {% assign coll = site[page.collection] | reverse %}
        {% for post in coll %}
            {% assign currentdate = post.date | date: "%Y" %}
            {% if currentdate != date %}
                <h1 class="separator">{{ currentdate }}</h1>
                {% assign date = currentdate %} 
            {% endif %}

            {% assign href=post.url %}
            {% if post.link %}
                {% assign href=post.link %}
            {% endif %}
            <a href="{{ href }}">
                <div class="header">
                    <h2>{{ post.title }}</h2>
                    <div class="content">
                        {{post.excerpt}}
                    </div>
                </div>
                <img src="{{post.thumbnail}}">
            </a>
        {% endfor %}
    </nav>
</main>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
voppe-jekyll-theme-0.5.5 _layouts/list.html
voppe-jekyll-theme-0.5.4 _layouts/list.html
voppe-jekyll-theme-0.5.3 _layouts/list.html
voppe-jekyll-theme-0.5.2 _layouts/list.html
voppe-jekyll-theme-0.5.1 _layouts/list.html