Closure Templates is an actively used template language created in 2009.

11Years Old 749Users ?Jobs
  • Closure Templates on github
  • Closure Templates first appeared in 2009
  • file extensions for Closure Templates include soy
  • Have a question about Closure Templates not answered here? Email me and let me know how I can help.

Example code from the web:

 * Says hello to the world.
{template .helloWorld}
  Hello world!

Example code from Linguist:

{namespace Exmaple}

 * Example
{template .foo}
  {@param count: string}
  {@param? name: int}

  {if isNonnull($name)}

  <div class="content">
    {switch count}
      {case 0}
        {call Empty.view}
          {param count: $count /}
        <h2>Wow, so many!</h2>

Trending Repos

repo stars description

Last updated August 9th, 2020

Edit Closure Templates on GitHub