mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-08-02 07:02:01 +00:00
Redesigned postroll page
This commit is contained in:
parent
7d8d52451f
commit
1593953d48
2 changed files with 16 additions and 4 deletions
|
@ -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.
|
|
@ -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 }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue