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;
|
color: $text-emph;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.right {
|
||||||
|
text-align: right;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post_listing {
|
||||||
|
margin-top: 40px;
|
||||||
|
margin-bottom: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
nav ul {
|
nav ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
|
@ -4,8 +4,9 @@ title: "blog"
|
||||||
---
|
---
|
||||||
<ul>
|
<ul>
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts %}
|
||||||
<li>
|
<li class="post_listing">
|
||||||
<a class="bit_bigger" href="{{ post.url }}">{{ post.title }} - {{ post.date | date_to_long_string }}</a>
|
<a class="bit_bigger" href="{{ post.url }}">{{ post.title }}</a>
|
||||||
|
<span class=right>{{ post.date | date_to_long_string }}</span>
|
||||||
<hr>
|
<hr>
|
||||||
<p>{{ post.excerpt }}</p>
|
<p>{{ post.excerpt }}</p>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user