This commit is contained in:
Flummi 2016-08-30 12:59:39 +00:00
parent dd78c58375
commit 20d6ed16a5
3 changed files with 2 additions and 4 deletions

View File

@ -9,8 +9,7 @@
<div class="navbar"><a href="/">f0ck.me</a> | <a href="/how">how to</a> | <a href="/contact">Contact</a></div> <div class="navbar"><a href="/">f0ck.me</a> | <a href="/how">how to</a> | <a href="/contact">Contact</a></div>
<div class="body"> <div class="body">
<div id="posts" data-last="{{ last }}"> <div id="posts" data-last="{{ last }}">
{% for item in items %} {% for item in items %}<a href="./{{ item.id }}" title="{{ item.mime }}"><img class="thumb" src="./t/{{ item.id }}.png" /></a>
<a href="./{{ item.id }}" title="{{ item.mime }}"><img class="thumb" src="./t/{{ item.id }}.png" /></a>
{% endfor %} {% endfor %}
</div> </div>
<div class="clear"></div> <div class="clear"></div>

View File

View File

@ -274,7 +274,6 @@ Websrv.prototype.getTpls = () => {
"index": fs.readFileSync("./s/index.tpl.html", "utf-8"), "index": fs.readFileSync("./s/index.tpl.html", "utf-8"),
"item": fs.readFileSync("./s/item.tpl.html", "utf-8"), "item": fs.readFileSync("./s/item.tpl.html", "utf-8"),
"how": fs.readFileSync("./s/how.tpl.html", "utf-8"), "how": fs.readFileSync("./s/how.tpl.html", "utf-8"),
"contact": fs.readFileSync("./s/contact.tpl.html", "utf-8"), "contact": fs.readFileSync("./s/contact.tpl.html", "utf-8")
"scripts": fs.readFileSync("./s/scripts.tpl.html", "utf-8")
}; };
}; };