Sha256: fdd84a0bfafff561477341a2724ececdfa33be7197b17fa282d60420c2f99b08

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

---
layout: compress
---

{% include head.html %}

<main>

    {% include header.html %}

    {{ content }}

    {% if site.tags[page.slug] %}
    <p>
        Here be writings, tagged as <b>"{{ page.slug }}"</b>.<br>
        <small><a href="{{ site.baseurl }}{{ site.Blog }}">Remove filter</a></small>
    </p>

    <ul class="blog-posts">
        {% assign post_list = '' | split: ',' %}
        {% for post in site.tags[page.slug] %}
        {% for tag in post.tags %}
        {% assign post_list = post_list | push: post %}
        {% endfor %}
        {% endfor %}
        {% for post in post_list %}
        {% unless post == previous %}
        <li>
            <span>
                <i>
                    <time datetime="2022-01-28" pubdate="">
                        {{ post.date | date: "%b %-d, %Y" }}
                    </time>
                </i>
            </span>
            <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
        </li>
        {% endunless %}
        {% assign previous = post %}
        {% endfor %}

    </ul>
    {% else %}
    <p>
        There are no posts in {{ page.slug }}.
    </p>
    {% endif %}

</main>

{% include footer.html %}

</body>

</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-bear-theme-0.1.6 _layouts/tagged.html