min spacing on date in post list
This commit is contained in:
parent
1aa4d0ce09
commit
b11295af25
2 changed files with 5 additions and 1 deletions
|
|
@ -57,6 +57,10 @@ blockquote {
|
|||
grid-template-columns: 1fr 6fr;
|
||||
}
|
||||
|
||||
.post-date {
|
||||
min-width: 6em;
|
||||
}
|
||||
|
||||
/* nav
|
||||
****************************************/
|
||||
.nav {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<h1>Latest Posts</h1>
|
||||
{% for post in posts %}
|
||||
<div class="post-list-item">
|
||||
<span>{{post.date}}</span>
|
||||
<span class="post-date">{{post.date}}</span>
|
||||
<span><a href="{{post.url()}}">{{post.title}}</a></span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue