Something went wrong. Try again.
The bmannconsulting.com website
Something went wrong. Try again.
1.3 kB · 29 lines
HTML
at commit 94de6376
123456789101112131415161718192021222324252627282930---layout: pagetitle: Articles 📚permalink: /articles/---
<p style="padding: 1.5em 1em; background: #f5f7ff; border-radius: 25px;"> Articles are important long reads where I have local comments and quotes I refer back to. My general rule is that if I mention an article to two different people, I should probably make a local page for it.</p> <main> {% assign postsByYear = site.notes | group_by_exp:"post", "post.published | date: '%Y'" %} {% assign postsByYear = postsByYear | sort: "name" | reverse %}
{% for year in postsByYear %} <h3 id="{{ year.name }}">{{ year.name }}</h3> <ul> {% for post in year.items %} {% unless post.published %} {% comment %} post.tags contains "article" is not working here! {% endcomment %} {% break %} {% endunless %} <li id="date-content" style="padding-bottom: 0.6em; list-style: none;"><a href="{{ post.link }}">{{ post.title }}</a>{% if post.author %} by {{ post.author }}{% endif %} <a title="Local Permalink" href="{{ post.url }}" class="internal-link">#</a></li> {% endfor %} </ul> {% endfor %} <br/> <br/> </main>