naveedn / robbie-static-site-generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hackathon Project

See if there is a way to build an html templating system that uses 0 dependencies

Results

Yes, but you gotta use a lot of evals to take advantage of tagged string literals

TODO:

  • modify generator.js so that all readFile Promise objects are resolved before next promise fires
  • create new pages dir every time generator.js is invoked
  • write all updated template files to the pages/dir

About


Languages

Language:JavaScript 55.6%Language:HTML 44.4%