flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit 9a4607cc0a6462ff08fe0ab5bdfe3b71abd13c67
parent 1e8ecc351d54d36ae55f38ed482ccca0f1cee0b8
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sat,  9 Jan 2021 20:31:51 -0800

more shown on front page

Diffstat:
Mdb.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/db.go b/db.go @@ -170,8 +170,8 @@ func getIndexFiles(admin bool) ([]*File, error) { // cache this function sort.Slice(result, func(i, j int) bool { return result[i].UpdatedTime.After(result[j].UpdatedTime) }) - if len(result) > 35 { - result = result[:35] + if len(result) > 50 { + result = result[:50] } return result, nil } // todo clean up paths