@@ -38,11 +38,9 @@ func (e Exhibition) Render(path string, dashboard bool) string {
38
38
39
39
out += "<div class='columns-2'>\n\n"
40
40
41
- page := pager.NewPager(e.itemsSorted, pageSize, false).MustGetPageByPath(path)
42
-
43
- for i := len(page.Items) - 1; i >= 0; i-- {
44
- item := page.Items[i]
41
+ page := pager.NewPager(e.itemsSorted, pageSize, true).MustGetPageByPath(path)
45
42
43
+ for _, item := range page.Items {
46
44
out += "<div>\n\n"
47
45
id, _ := seqid.FromString(item.Key)
48
46
out += ufmt.Sprintf("### Submission #%d\n\n", int(id))
@@ -63,7 +61,7 @@ func (i Item) Render(dashboard bool) string {
63
61
out += ufmt.Sprintf("[View realm](%s)\n\n", strings.TrimPrefix(i.pkgpath, "gno.land")) // gno.land/r/leon/home > /r/leon/home
64
62
out += ufmt.Sprintf("Submitted at Block #%d\n\n", i.blockNum)
65
63
66
- out += ufmt.Sprintf("#### [%d👍](%s) - [%d👎](%s)\n\n",
64
+ out += ufmt.Sprintf("** [%d👍](%s) - [%d👎](%s)** \n\n",
67
65
i.upvote.Size(), txlink.Call("Upvote", "pkgpath", i.pkgpath),
68
66
i.downvote.Size(), txlink.Call("Downvote", "pkgpath", i.pkgpath),
69
67
)
0 commit comments