silly
This commit is contained in:
parent
379ab8e2a4
commit
96517d4dc7
3
make.js
3
make.js
|
@ -272,8 +272,7 @@ function generateTemplates() {
|
|||
templates["build_info"] =
|
||||
`# of commits ${commits}\n` +
|
||||
`# of pages ${pages.length}\n` +
|
||||
`last built on ${date.toUTCString().replace("GMT", "UTC")}\n` +
|
||||
`last rebooted ${bootDate.toUTCString().replace("GMT", "UTC")}`
|
||||
`last built on ${date.toUTCString().replace("GMT", "UTC")}`
|
||||
|
||||
// → {gmi_webrings} template (remove trailing newline)
|
||||
templates["gmi_webrings"] = templates["webrings.gmi"].substring(0, templates["webrings.gmi"].length - 1)
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
: -1;
|
||||
|
||||
if (views > -1)
|
||||
document.getElementsByTagName("pre")[0]
|
||||
document.querySelector(".wrap pre")[0]
|
||||
.innerText += "\nviews " + views;
|
||||
else
|
||||
console.log("!! error connecting to /api/viewcount");
|
||||
|
|
Loading…
Reference in New Issue