index: render blog subtitles
This commit is contained in:
parent
7b08cc2938
commit
2fd9ed8b98
|
@ -205,6 +205,17 @@ body
|
||||||
content: $marker_li;
|
content: $marker_li;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.subtitle
|
||||||
|
{
|
||||||
|
font-style: italic;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
margin-left: 1rem;
|
||||||
|
}
|
||||||
|
.date
|
||||||
|
{
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
header, h1, h2, h3
|
header, h1, h2, h3
|
||||||
{
|
{
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -10,7 +10,10 @@
|
||||||
<ul>
|
<ul>
|
||||||
{% for page in blog.pages %}
|
{% for page in blog.pages %}
|
||||||
<li>
|
<li>
|
||||||
|
<div>
|
||||||
<a href="{{ page.permalink | safe }}">{{ page.title }}</a>
|
<a href="{{ page.permalink | safe }}">{{ page.title }}</a>
|
||||||
|
</div>
|
||||||
|
<div class="subtitle">{{ page.description }} <span class="date">({{ page.date }})</span></div>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user