google / web-starter-kit

Web Starter Kit - a workflow for multi-device websites
http://developers.google.com/web/starter-kit
Apache License 2.0
18.43k stars 3.02k forks source link

[RFC] Add the ability to use template inheritance #935

Open zomars opened 7 years ago

zomars commented 7 years ago

By using a template rendering engine like Nunjucks you can have all the added benefits and it fits right into the WSK workflow like a Glove. For anyone that has used Twig or similar templating engines will know about what I'm talking about.

Two benefits of template engines:

  1. It lets you break HTML code into smaller files
  2. It lets you use data to populate your markup

I've already did a fork where I implement this in WSK and it works like a charm, I can make a PR with no problem. You can check more information about this topic here.