5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-11-08 17:40:26 +00:00

Update blog listing

This commit is contained in:
Neil Alexander 2018-07-13 12:52:44 +01:00
parent 187ee5840d
commit dff8053b88
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944
2 changed files with 10 additions and 5 deletions

View File

@ -38,10 +38,14 @@ div.blogpost {
grid-template-columns: 100px minmax(200px, 1fr);
}
div.blogpost div.day {
div.blogpost div.date div.day {
font-size: 2em;
}
div.blogpost div.month {
div.blogpost div.date div.month {
font-size: 0.5em;
}
div.blogpost div.overview div.excerpt {
color: #444444;
}

View File

@ -3,11 +3,12 @@
{% for post in site.posts %}
<div class='blogpost'>
<div id='date'>
<div id='day'>{{ page.date | date: "%-d" }}</div>
<div id='month'>{{ page.date | date: "%B %Y" }}</div>
<div id='day'>{{ post.date | date: "%-d" }}</div>
<div id='month'>{{ post.date | date: "%B %Y" }}</div>
</div>
<div id='overview'>
<a href="{{ post.url }}">{{ post.title }}</a>
<div id='title'><a href="{{ post.url }}">{{ post.title }}</a></div>
<div id='excerpt'>{{ post.excerpt }}</div>
</div>
</div>
{% endfor %}