Redesigned postroll page

This commit is contained in:
Brandon Rozek 2025-01-05 12:47:07 -05:00
parent 7d8d52451f
commit 1593953d48
No known key found for this signature in database
GPG key ID: DFB0E78F805F4567
2 changed files with 16 additions and 4 deletions

View file

@ -4,4 +4,4 @@ description: Recently enjoyed blog posts
layout: postroll layout: postroll
--- ---
Inspired by [Jedda's Postroll](https://notes.jeddacp.com/postroll/), here is a rolling list of 30 blog posts that I've recently read and enjoyed. This list refreshes daily. Inspired by [Jedda's Postroll](https://notes.jeddacp.com/postroll/), here is an incomplete list of blog posts that I've read and enjoyed in the last 3 months. This list refreshes daily.

View file

@ -13,11 +13,23 @@
{{ end }} {{ end }}
{{ with $items.Ok }}{{ range . }} {{ with $items.Ok }}{{ range . }}
<div style="text-align: left;"> <div class="postroll-item" style="text-align: left;">
<p><a href="{{ .url }}"><strong style="font-size: 1.6rem;">{{ .title }}</strong></a> by {{ .author }}</p> <p><a href="{{ .url }}"><strong style="font-size: 1.7rem;">{{ .title }}</strong></a> by <span class="postroll-author">{{ .author }}</span></p>
<p>{{ .comment }}</p> <p>{{ .comment }}</p>
<p>Added: <span class="postroll-date"> {{ .dateadded }} </span></p>
</div> </div>
<hr/>
{{ end }}{{ end }} {{ end }}{{ end }}
<style>
.postroll-item {
margin-top: 2rem;
margin-bottom: 2rem;
text-align: left;
}
.postroll-author, .postroll-date {
color: #800000;
}
</style>
</article> </article>
</main> </main>
{{ end }} {{ end }}