<section class="webring">
  <h3>Posts from other places I follow</h3>
  <section class="articles">
    {{range .Articles}}
    <div class="webring__article">
      <p class="webring__title">
        <a href="{{.Link}}" target="_blank" rel="noopener">{{.Title}}</a>
      </p>
      <span class="webring__metadata">
        <small class="webring__source">
          via <a href="{{.SourceLink}}">{{.SourceTitle}}</a>
        </small>
        {{- if ne (datef "2006-01-02" .Date) "0001-01-01" }}
        <small class="webring__date">- <date datetime="{{ .Date }}">{{.Date | datef "2006-01-02"}}</date></small>
        {{- end }}
      </span>
    </div>
    {{end}}
  </section>
  <p class="webring__attribution">
    Generated by
    <a href="https://git.sr.ht/~sircmpwn/openring">openring</a>
  </p>
</section>
<style>
.webring .articles {
  margin: -0.5rem;
}

.webring__title {
  margin: 0;
}

.webring__article {
  margin: 0.5rem;
  padding: 0.5rem;
  background: var(--base01);
}

.webring__attribution {
  text-align: right;
  font-size: 0.8rem;
}
</style>
