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" div(class="main-footer" data-swiftype-index="false") nav.background-midnight.grid-fluid .c3.main-footer-branding .logo-inverse-large .c2 h3.text-headline RESOURCES ul.text-body // TODO: (ericjim) make a libraries page to showcase all angular libraries //li Libraries li About li Books & Training li Tools & Libraries li Community li Press Kit .c2 h3.text-headline HELP ul.text-body li Stack Overflow li Gitter li Google Group li Report Issues li Site Feedback .c2 h3.text-headline COMMUNITY ul.text-body li Events li Meetups li Twitter li GitHub li Contribute .c2 h3.text-headline LANGUAGES ul.text-body li 中文版 footer(class="background-midnight") 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") span.icon-favorite