prettify blog post listing page a bit

master
Rachel Lambda Samuelsson 2022-01-27 20:36:06 +01:00
parent 890cc7f928
commit 27402ebcdb
2 changed files with 13 additions and 2 deletions

View File

@ -116,6 +116,16 @@ a:hover {
color: $text-emph;
}
.right {
text-align: right;
float: right;
}
.post_listing {
margin-top: 40px;
margin-bottom: 40px;
}
nav ul {
list-style: none;
padding: 0;

View File

@ -4,8 +4,9 @@ title: "blog"
---
<ul>
{% for post in site.posts %}
<li>
<a class="bit_bigger" href="{{ post.url }}">{{ post.title }} - {{ post.date | date_to_long_string }}</a>
<li class="post_listing">
<a class="bit_bigger" href="{{ post.url }}">{{ post.title }}</a>
<span class=right>{{ post.date | date_to_long_string }}</span>
<hr>
<p>{{ post.excerpt }}</p>
</li>