The bmannconsulting.com website
1--- 2layout: page 3title: Articles 📚 4permalink: /articles/ 5--- 6 7<p style="padding: 1.5em 1em; background: #f5f7ff; border-radius: 25px;"> 8 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. 9</p> 10 <main> 11 {% assign postsByYear = site.notes | group_by_exp:"post", "post.published | date: '%Y'" %} 12 {% assign postsByYear = postsByYear | sort: "name" | reverse %} 13 14 {% for year in postsByYear %} 15 <h3 id="{{ year.name }}">{{ year.name }}</h3> 16 <ul> 17 {% for post in year.items %} 18 {% unless post.published %} 19 {% comment %} post.tags contains "article" is not working here! {% endcomment %} 20 {% break %} 21 {% endunless %} 22 <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> 23 {% endfor %} 24 </ul> 25 {% endfor %} 26 27 <br/> 28 <br/> 29 </main>