feat: Add openring incoming template example

pull/2/head
earnest ma 2021-02-05 11:39:45 -05:00
parent 3d1ea57fec
commit 0d5fac8c15
No known key found for this signature in database
GPG Key ID: 6B361FA81C5FB695
1 changed files with 23 additions and 0 deletions

23
openring-template-in.html Normal file
View File

@ -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>