From 2ee74c9a6a33414d03004f4576ad5fece28239a1 Mon Sep 17 00:00:00 2001 From: default Date: Mon, 24 Jul 2023 20:51:24 +0200 Subject: [PATCH] Added a 'Back to top' link at the end of the page. --- html.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/html.c b/html.c index 7ce94f2..ec5effa 100644 --- a/html.c +++ b/html.c @@ -1425,8 +1425,12 @@ xs_str *html_timeline(snac *snac, const xs_list *list, int local, int skip, int if (show_more) { xs *s1 = xs_fmt( "

" + "%s - " "%s" - "

\n", snac->actor, local ? "" : "/admin", skip + show, show, L("Load more...")); + "

\n", + snac->actor, local ? "" : "/admin", L("Back to top"), + snac->actor, local ? "" : "/admin", skip + show, show, L("Older entries...") + ); s = xs_str_cat(s, s1); }