prettify blog post listing page a bit
This commit is contained in:
parent
890cc7f928
commit
27402ebcdb
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user