Closure Templates is an actively used template created in 2009.

10Years Old 1,749Users 0Jobs
  • Closure Templates ranks in the bottom 50% of languages
  • Closure Templates on github
  • Closure Templates first appeared in 2009
  • I have 35 facts about Closure Templates. just email me if you need more.

Example code from the web:

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

Example code from Linguist:

{namespace Exmaple}

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

  {if isNonnull($name)}
    <h1>{$name}</h1>
  {/if}

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

Last updated February 11th, 2019