Sha256: 7024068c7a95f5b7e097836b59fca70a564fc8c568c8932d00c926042810ca5d

Contents?: true

Size: 998 Bytes

Versions: 3

Compression:

Stored size: 998 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">
                        {% if post.description %}
                            {{post.description}}
                        {% endif %}
                    </div>
                </div>
                <img src="{{post.thumbnail}}">
            </a>
        {% endfor %}
    </nav>
</main>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
voppe-jekyll-theme-0.6.2 _layouts/list.html
voppe-jekyll-theme-0.6.1 _layouts/list.html
voppe-jekyll-theme-0.6.0 _layouts/list.html