math error in earl404 and minor style changes

merge-requests/208/head
fatchan 5 years ago
parent 6dd5eceb73
commit 47bcd3b8f0
  1. 2
      db/posts.js
  2. 2
      gulp/res/css/style.css
  3. 3
      package.json
  4. 7
      views/custompages/rules.pug

@ -389,7 +389,7 @@ module.exports = {
'replyposts': { 'replyposts': {
'$lt': 5 '$lt': 5
} }
}).skip(Math.floor(board.settings.threadLimit/3)).toArray(); }).skip(Math.ceil(board.settings.threadLimit/3)).toArray();
} }
return oldThreads.concat(early404Threads); return oldThreads.concat(early404Threads);

@ -35,7 +35,7 @@
--label-color: #282a2e; --label-color: #282a2e;
--box-border-color: #111; --box-border-color: #111;
--transparent-darken: #00000010; --transparent-darken: #00000010;
--highlighted-post-color: #1d1d21; --highlighted-post-color: #ff000010;
--highlighted-post-outline-color: #111; --highlighted-post-outline-color: #111;
--report-color: #fca; --report-color: #fca;
--report-outline-color: #c97; --report-outline-color: #c97;

@ -36,8 +36,7 @@
}, },
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js", "start": "pm2-runtime start ecosystem.config.js --env production",
"wipe": "node wipe.js && rm -rf static/img/* && rm -rf static/banner/* && rm -rf static/html/* && gulp"
}, },
"author": "", "author": "",
"license": "ISC" "license": "ISC"

@ -9,8 +9,5 @@ block content
table.table-body table.table-body
tr.table-row tr.table-row
td td
ul p Do not post or link to any content that violates laws of the United States of America
li Do not post or link to any content that violates laws of the United States of America p Do not spam, flood or perform any actions to an extent that negatively impacts the usual function of the website/server
li Do not spam, flood or perform any actions to an extent that negatively impacts the usual function of the website/server
li Do not post discord or other social media links or invite codes intended to replace the site or create discussion outside the site. That's how you lose your anonymity and kill chans
li Report technical issues on #[a(href='/t/index.html') >>>/t/], and email security issues to tom-69420-me (replace - with @ .)

Loading…
Cancel
Save