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; display: inline-block;
min-width: 100px; min-width: 100px;
} }
> li > div {
display: grid;
grid-template-columns: 100px auto;
}
} }
#commento { #commento {

View File

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