aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2021-01-08 23:03:01 -0500
committerMitch Riedstra <mitch@riedstra.us>2021-01-08 23:03:32 -0500
commitd762cdbae06efd194ffac7b976c16aac21a26f94 (patch)
tree91372f7cb8118dea56255d0f35294574df339ed0 /cmd
parent11c0e0ca37ce58d74f3cd5831265b9912f6bc8ea (diff)
downloadsteam-export-d762cdbae06efd194ffac7b976c16aac21a26f94.tar.gz
steam-export-d762cdbae06efd194ffac7b976c16aac21a26f94.tar.xz
Also show the size of games on the page listing
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web/index.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web/index.go b/cmd/web/index.go
index 87f9e25..6229f71 100644
--- a/cmd/web/index.go
+++ b/cmd/web/index.go
@@ -88,7 +88,7 @@ an external hard drive
<ul>
{{ range $key, $val := .Lib.Games }}
<li>
-<a href="/download/{{$key}}">{{$key}}</a>
+<a href="/download/{{$key}}">{{$key}} ({{$val.GetSize}})</a>
</li>
{{ end }}
</ul>