index: render blog subtitles

This commit is contained in:
Colin 2022-04-05 21:43:39 +00:00
parent 7b08cc2938
commit 2fd9ed8b98
2 changed files with 15 additions and 1 deletions

View File

@ -205,6 +205,17 @@ body
content: $marker_li;
}
.subtitle
{
font-style: italic;
font-size: 0.8rem;
margin-left: 1rem;
}
.date
{
font-style: normal;
}
header, h1, h2, h3
{
display: flex;

View File

@ -10,7 +10,10 @@
<ul>
{% for page in blog.pages %}
<li>
<a href="{{ page.permalink | safe }}">{{ page.title }}</a>
<div>
<a href="{{ page.permalink | safe }}">{{ page.title }}</a>
</div>
<div class="subtitle">{{ page.description }} <span class="date">({{ page.date }})</span></div>
</li>
{% endfor %}
</ul>