Theme support part one.

This commit is contained in:
2026-10-03 00:09:33 -05:00
parent 8d6f17faa8
commit 64760bd370
+2
View File
@@ -84,6 +84,8 @@ if ($index === false) {
exit();
}
$light = filter_var($_GET['light'] ?? false, FILTER_VALIDATE_BOOLEAN);
$total = count($sites);
$prev = $sites[($index - 1 + $total) % $total];
$next = $sites[($index + 1) % $total];