mirror of
https://github.com/cwinfo/yggdrasil-network.github.io.git
synced 2024-11-08 20:00:26 +00:00
Update blog listing
This commit is contained in:
parent
46aa7a787b
commit
187ee5840d
@ -25,9 +25,23 @@ div.wrapper {
|
||||
|
||||
pre.highlight {
|
||||
width: auto;
|
||||
white-space: pre-wrap;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: -pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: -pre-wrap;
|
||||
white-space: -o-pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
div.blogpost {
|
||||
display: grid;
|
||||
grid-gap: 10px;
|
||||
grid-template-columns: 100px minmax(200px, 1fr);
|
||||
}
|
||||
|
||||
div.blogpost div.day {
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
div.blogpost div.month {
|
||||
font-size: 0.5em;
|
||||
}
|
||||
|
16
blog.md
16
blog.md
@ -1,9 +1,13 @@
|
||||
# Blog
|
||||
|
||||
<ul>
|
||||
{% for post in site.posts %}
|
||||
<li>
|
||||
{% 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>
|
||||
<div id='overview'>
|
||||
<a href="{{ post.url }}">{{ post.title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user