This commit is contained in:
Robo 2016-08-17 23:24:07 +02:00
commit 839f28f56d
3 changed files with 5 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
node_modules/
cfg.cfg
cfg.json
b/

View File

@ -7,9 +7,10 @@
</head>
<body>
<div class="navbar"><a href="/">f0ck.me</a> | <a href="/how">how to</a> | <a href="/contact">Contact</a></div><br />
{% for item in items %}<div class="centeredthumbs">
<div class="centeredthumbs">
{% for item in items %}
<div class="mrhankyisteinneger"><a href="./{{ item }}"><img src="./t/{{ item }}.png" /></a></div>
</div>
{% endfor %}
</div>
</html>
</body>

View File

@ -269,7 +269,7 @@ http.createServer((req, res) => {
if(rows[3].length)
data.first = rows[3][0].id;
if(rows[4].length)
data.first = rows[4][0].id;
data.last = rows[4][0].id;
}
res.writeHead(200, { 'Content-Type': 'text/html' });
res.end(tpl(data), 'utf-8');