all repos — flounder @ 450ea8e697462b265494ae506116b98800041757

A small site builder for the Gemini protocol

Reduce number of files on index page
alex wennerberg alex@alexwennerberg.com
Thu, 07 Jan 2021 10:52:06 -0800
commit

450ea8e697462b265494ae506116b98800041757

parent

176ac4ccbf79af794a6869faee9994aa8913fbc4

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M db.godb.go

@@ -146,8 +146,8 @@ }

sort.Slice(result, func(i, j int) bool { return result[i].UpdatedTime.After(result[j].UpdatedTime) }) - if len(result) > 50 { - result = result[:50] + if len(result) > 35 { + result = result[:35] } return result, nil } // todo clean up paths