feat: Add openring incoming template example

pull/2/head
earnest ma 2 years ago
parent 3d1ea57fec
commit 0d5fac8c15
No known key found for this signature in database
GPG Key ID: 6B361FA81C5FB695
  1. 23
      openring-template-in.html

@ -0,0 +1,23 @@
<section class="webring">
<h4>
Recent posts from blogs I read
<small class="wr-attribution">
Generated by
<a href="https://git.sr.ht/~sircmpwn/openring" target="_blank" rel="noopener">openring</a>
</small>
</h4>
<section class="wr-articles">
{{range .Articles}}
<div class="wr-article">
<h4 class="wr-title">
<a href="{{.Link}}" target="_blank" rel="noopener">{{.Title}}</a>
</h4>
<p class="wr-summary">{{.Summary}}</p>
<small class="source">
via <a href="{{.SourceLink}}" target="_blank" rel="noopener">{{.SourceTitle}}</a>
</small>
<small class="wr-date">{{.Date | date}}</small>
</div>
{{end}}
</section>
</section>
Loading…
Cancel
Save