diff --git a/board/boards.js b/board/boards.js
index 8ff5561..eb32d92 100644
--- a/board/boards.js
+++ b/board/boards.js
@@ -1,4 +1,4 @@
-boards = ["tech","gen","films","test"]
+boards = ["tech","gen","films","test","maths"]
if (typeof module !== 'undefined' && module.exports) {
module.exports = boards;
diff --git a/board/displayComments.js b/board/displayComments.js
index 95566de..95843cf 100644
--- a/board/displayComments.js
+++ b/board/displayComments.js
@@ -7,9 +7,15 @@ function secondsIntoDay(time) {
let second = time.getUTCSeconds();
return ((hour * 3600) + (minute * 60) + second)
}
+let pfps = [["deadvey","/images/pfp6.png"]]
let divText = document.getElementById("comments").innerHTML;
newPageHTML="";
-for (let comment = 0; comment < comments.length; comment++) {
+for (let comment = 0; comment < comments.length; comment++) {
+ for (let i = 0; i < pfps.length; i++) {
+ if (pfps[i][0] == comments[comment][0]) {
+ comments[comment][0] = ` ` + comments[comment][0]
+ }
+ }
if (typeof comments[comment][2] == 'undefined') {
newPageHTML+=`${comments[comment][0]}: ${comments[comment][1]}
`
}
@@ -18,7 +24,7 @@ for (let comment = 0; comment < comments.length; comment++) {
let second = Math.round((secondsIntoDay(time) / (86400/65536))).toString(16);
let day = daysIntoYear(time).toString(16);
let year = time.getUTCFullYear().toString(16);
- newPageHTML+=`[${second} ${day}/${year}] ${comments[comment][0]}: ${comments[comment][1]}
`
+ newPageHTML+=`[${second} ${day}/${year}] ${comments[comment][0]}: ${comments[comment][1]}
`
}
};
document.getElementById("comments").innerHTML = newPageHTML
diff --git a/board/index.html b/board/index.html
index 6b24e02..a8dd58c 100644
--- a/board/index.html
+++ b/board/index.html
@@ -2,7 +2,8 @@