diff options
| author | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2021-02-25 21:56:48 +0100 |
|---|---|---|
| committer | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2021-02-25 21:56:48 +0100 |
| commit | b8dda716d04a20cdea12e89f5360947ddd68ad91 (patch) | |
| tree | 32a3a6625c80736ed94c3f336ba6361bd89188a4 /layouts/_default/list.html | |
| parent | 181171399a0fc5ed7356c7a96a4ba04d0a0999d0 (diff) | |
Fixes
Diffstat (limited to 'layouts/_default/list.html')
| -rw-r--r-- | layouts/_default/list.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 752b805..917ca38 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,12 +3,12 @@ <h1>{{ .Title }}</h1> {{ range .Data.Pages -}} <li> - <span> - <a href="{{ .Permalink }}">{{ .Title }}</a> - {{ if eq .Kind "page" }} - <time class="pull-right post-list" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time> - {{ end }} - </span> + <div class="flex"> + <a href="{{ .Permalink }}" class="truncate">{{ .Title }}</a> + {{ if eq .Kind "page" }} + <time class="nowrap" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time> + {{ end }} + </div> </li> {{- end }} </ul> |
