blogposts: Openring integration
This commit is contained in:
parent
60e58523ca
commit
1d044b51dd
2 changed files with 51 additions and 2 deletions
|
|
@ -19,5 +19,37 @@ done
|
|||
|
||||
cat <<FTR # Short for Fetterman
|
||||
</dl> <!-- no longer on the dl -->
|
||||
|
||||
<h2>Other People's Posts</h2>
|
||||
{{range .Articles}}
|
||||
<div>
|
||||
<h4 class="title" dir="auto">
|
||||
<a href="{{.Link}}" target="_blank" rel="noopener">{{.Title}}</a>
|
||||
</h4>
|
||||
<p class="summary" dir="auto">{{.Summary}}</p>
|
||||
<small class="source">
|
||||
via <a href="{{.SourceLink}}">{{.SourceTitle}}</a>
|
||||
</small>
|
||||
<small class="date">{{.Date | datef "January 2, 2006"}}</small>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
</br></br>
|
||||
<small>
|
||||
<p>
|
||||
Generated by
|
||||
<a href="https://git.sr.ht/~sircmpwn/openring">openring</a>
|
||||
</p>
|
||||
</small>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.webring .title {
|
||||
margin: 0;
|
||||
}
|
||||
.webring .summary {
|
||||
font-size: 0.8rem;
|
||||
flex: 1 1 0;
|
||||
}
|
||||
</style>
|
||||
FTR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue