mirror of
https://github.com/cwinfo/yggdrasil-network.github.io.git
synced 2025-02-28 19:51:34 +00:00
Update blog listing
This commit is contained in:
parent
46aa7a787b
commit
187ee5840d
@ -25,9 +25,23 @@ div.wrapper {
|
|||||||
|
|
||||||
pre.highlight {
|
pre.highlight {
|
||||||
width: auto;
|
width: auto;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
white-space: -moz-pre-wrap;
|
white-space: -moz-pre-wrap;
|
||||||
white-space: -pre-wrap;
|
white-space: -pre-wrap;
|
||||||
white-space: -o-pre-wrap;
|
white-space: -o-pre-wrap;
|
||||||
word-wrap: break-word;
|
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
|
# Blog
|
||||||
|
|
||||||
<ul>
|
{% for post in site.posts %}
|
||||||
{% for post in site.posts %}
|
<div class='blogpost'>
|
||||||
<li>
|
<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>
|
<a href="{{ post.url }}">{{ post.title }}</a>
|
||||||
</li>
|
</div>
|
||||||
{% endfor %}
|
</div>
|
||||||
</ul>
|
{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user