<section class="webring">
<h3>Posts from blogs I follow</h3>
<section class="articles">
{% for article in articles %}
<div class="article">
<h4 class="title" dir="auto">
<a href="{{ article.link | safe }}" target="_blank" rel="noopener">{{ article.title | safe }}</a>
</h4>
<p class="summary" dir="auto">{{ article.summary | linebreaksbr | replace(from="<br>", to=" ") | striptags | trim
| truncate(length=256) | safe }}</p>
<small class="source"> via <a href="{{ article.source_link | safe }}">{{ article.source_title | safe
}}</a></small>
<small class="date">{{ article.timestamp | 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 {
margin-top: 4rem;
}
.webring .articles {
display: flex;
flex-wrap: wrap;
margin: -0.5rem;
}
.webring .title {
margin: 0.1rem;
}
.webring .article {
flex: 1 1 0;
display: flex;
flex-direction: column;
margin: 0.5rem;
padding: 0.5rem;
background: lab(15% 0 0);
min-width: 10rem;
border-radius: 15px;
}
.webring .summary {
font-size: 1.0rem;
flex: 1 1 0;
}
.webring .attribution {
text-align: right;
font-size: 0.8rem;
color: lab(50% 0 0);
}
</style>