HN2
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
low_tech_punk
9 months ago
|
parent
|
context
|
favorite
| on:
CSS Minecraft
Pug is an unsung hero in this demo. The template engine made it possible to brute force the UI with 4 levels of nested loop. Impressive!
tantalor
9 months ago
[–]
Is pug doing something special here that another template engine, or just a custom script, could not do?
Concatenating strings is not that complicated.
perilunar
9 months ago
|
parent
[–]
You could write a script in JS to generate all the elements, then save the rendered HTML. Bootstrapping a HTML+CSS only site with HTML+CSS+JS.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: