diff --git a/build.js b/build.js index 6e28e6f1..7803982c 100644 --- a/build.js +++ b/build.js @@ -104,8 +104,8 @@ console.log('building board page', `${board._id}/${page === 1 ? 'index' : page}. } const buildArray = []; +console.log('multi building board pages', `${board._id}/ ${startpage === 1 ? 'index' : startpage} -> ${endpage === 1 ? 'index' : endpage} .html`); for (let i = startpage; i <= endpage; i++) { -console.log('multi building board page', `${board._id}/${i === 1 ? 'index' : i}.html`); let spliceStart = (i-1)*10; if (spliceStart > 0) { spliceStart = spliceStart - 1; @@ -133,10 +133,6 @@ console.log('multi building board page', `${board._id}/${i === 1 ? 'index' : i}. return render('changepassword.html', 'changepassword.pug'); }, - buildLogin: () => { - return render('login.html', 'login.pug'); - }, - buildRegister: () => { return render('register.html', 'register.pug'); }, diff --git a/gulp/res/css/style.css b/gulp/res/css/style.css index e77f1ee8..2bda2d6e 100644 --- a/gulp/res/css/style.css +++ b/gulp/res/css/style.css @@ -1,3 +1,7 @@ +html { + scroll-behavior: smooth; +} + body { font-family: arial, helvetica, sans-serif; font-size: 10pt; @@ -323,6 +327,10 @@ td, th { padding: 2px 0; } +.post-file-info:hover { + word-break: break-all; +} + .post-file-info { text-align: center; margin: 2px;