add nowrap to date in list

This commit is contained in:
Alexander Popov 2022-10-06 16:41:12 +03:00
parent 332c042b30
commit 7e4db498e8
Signed by: iiiypuk
GPG Key ID: D8C9B59A9F04A70C
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,9 @@
<div class="list-group w-auto">
{{ range .Pages.ByPublishDate.Reverse }}
<div class="list-group-item list-group-item-action d-flex gap-3 py-3">
<label>{{ .PublishDate.Format "2006-01-02" }}</label>
<label class="text-nowrap">
{{ .PublishDate.Format "2006-01-02" }}
</label>
<a class="text-decoration-none" href="{{ .RelPermalink }}">{{ .Title }}</a>
</div>
{{ end }}