From 8e519f17d144165b6de31bf3ebabdab5eb13bf0d Mon Sep 17 00:00:00 2001 From: Choom Date: Fri, 20 Jan 2023 00:36:43 -0300 Subject: Config para el usuario --- cgi/post.py | 2 +- cgi/templates/base_top.html | 2 +- cgi/templates/board.html | 14 ++++---------- cgi/templates/board.jp.html | 24 +++++++++--------------- cgi/templates/catalog.html | 7 ++++--- cgi/templates/navbar.html | 30 +++++++++++++++--------------- cgi/templates/txt_archive.html | 2 +- cgi/templates/txt_base_top.html | 5 ++--- cgi/templates/txt_board.en.html | 12 ++++-------- cgi/templates/txt_board.html | 12 ++++-------- cgi/templates/txt_error.html | 2 +- cgi/templates/txt_thread.html | 2 +- cgi/templates/txt_threadlist.html | 14 +++++--------- 13 files changed, 52 insertions(+), 76 deletions(-) (limited to 'cgi') diff --git a/cgi/post.py b/cgi/post.py index a34bb39..e8c6444 100644 --- a/cgi/post.py +++ b/cgi/post.py @@ -256,7 +256,7 @@ def regenerateFrontPages(): posts_to_fetch = 0 for t in allthreads[:threads_to_fetch]: posts_to_fetch += int(t["length"]) - more_threads = allthreads[threads_to_fetch:50] + more_threads = allthreads[threads_to_fetch:40] # get the needed posts for the front page and order them posts_query = "SELECT * FROM `posts` WHERE `boardid` = %s ORDER BY `bumped` DESC, CASE parentid WHEN 0 THEN id ELSE parentid END ASC, `id` ASC LIMIT %s" diff --git a/cgi/templates/base_top.html b/cgi/templates/base_top.html index dcf3d65..3e86e44 100644 --- a/cgi/templates/base_top.html +++ b/cgi/templates/base_top.html @@ -36,7 +36,7 @@
- +