<section class="webring">
<h3>Articles from blogs I follow around the net</h3>
<section class="articles">
{% for article in articles %}
<div class="article">
<h4 class="title" dir="auto">
<a href="{{ article.link }}" target="_blank" rel="noopener">{{ article.title }}</a>
</h4>
<p class="summary" dir="auto">{{ article.summary | striptags | truncate(length=256) }}</p>
<small class="source"> via <a href="{{ article.source_link }}">{{ article.source_title }}</a></small>
<small class="date">{{ article.date | date(format="%B %d, %Y")}}</small>
</div>
{% endfor %}
</section>
<p class="attribution">
Generated by
<a href="https://github.com/lukehsiao/openring-rs">openring-rs</a>
</p>
</section>
<style>
.webring .articles {
display: flex;
flex-wrap: wrap;
margin: -0.5rem;
}
.webring .title {
margin: 0;
}
.webring .article {
flex: 1 1 0;
display: flex;
flex-direction: column;
margin: 0.5rem;
padding: 0.5rem;
background: #eee;
min-width: 10rem;
}
.webring .summary {
font-size: 0.8rem;
flex: 1 1 0;
}
.webring .attribution {
text-align: right;
font-size: 0.8rem;
color: #555;
}
</style>