improved style of simple post list

This commit is contained in:
Gabriele Musco 2021-06-29 18:09:56 +02:00
parent 1011211a04
commit 9413a77498
No known key found for this signature in database
GPG Key ID: 8539FD3454380B83
2 changed files with 12 additions and 3 deletions

View File

@ -282,6 +282,10 @@ ul.list {
display: inline-block;
min-width: 100px;
}
> li > div {
display: grid;
grid-template-columns: 100px auto;
}
}
#commento {

View File

@ -17,9 +17,14 @@
{{ else }}
{{ range .Pages }}
<li>
<span class="date">
{{ .Date.Format "2006-01-02" }}
</span> <a href="{{ .Permalink }}">{{ .Title }}</a>
<div>
<span class="date">
{{ .Date.Format "2006-01-02" }}
</span>
<span>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</span>
</div>
</li>
{{ end }}
{{ end }}