statistics: Better display on the front page

This commit is contained in:
Tom Wiesing 2022-11-16 19:51:17 +01:00
parent bc1bf0db1c
commit 9a1cf4e53b
No known key found for this signature in database
12 changed files with 181 additions and 59 deletions

View file

@ -27,6 +27,12 @@
<a href="{{.URL}}" target="_blank" rel="noopener noreferrer">{{.URL}}</a><br>
<small>
{{ .Statistics.Bundles.Summary }}
{{ $edit := .Statistics.Bundles.LastEdit }}
{{ if $edit.Valid }}
<br />
last edited {{ $edit.Time.Format "2006-01-02T15:04:05Z07:00" }}
{{ end }}
</small>
</p>
</div>