if current.path[1] - var language = current.path[1] if current.path[2] - var version = current.path[2].replace(/\_+/gm, ".") if version && language - var styleguide = "/docs/"+language+"/"+ version +"/styleguide.html" else - var styleguide = "/docs/ts/latest/styleguide.html" .main-footer nav.background-blue-grey-900.grid-fluid .c3.main-footer-branding .logo-inverse-large .c3 h3.text-headline RESOURCES ul.text-body // TODO: (ericjim) make a libraries page to showcase all angular 2 libraries //li Libraries li About li Books & Training li Tools & Libraries li Community li Press Kit .c3 h3.text-headline HELP ul.text-body li Stack Overflow li Gitter li Google Group li Report Issues li Site Feedback .c3 h3.text-headline COMMUNITY ul.text-body li Events li Meetups li Twitter li GitHub li Contribute footer(class="background-steel") small.text-caption Powered by Google ©2010-2016. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0. a(aria-label="View Style Guide" href=styleguide title="Style Guide" class="styleguide-trigger text-snow" md-button) span.icon-favorite