soy is an actively used template language created in 2008.

12Years Old ?Users ?Jobs
  • soy first appeared in 2008
  • file extensions for soy include soy
  • Have a question about soy not answered here? Email me and let me know how I can help.

Example code from the web:

/**
 * Greets a person and optionally a list of other people.
 * @param name The name of the person.
 * @param additionalNames The additional names to greet. May be an empty list.
 */
{template .helloNames}
  // Greet the person.
  {call .helloName data="all" /}<br>
  // Greet the additional people.
  {foreach $additionalName in $additionalNames}
    {call .helloName}
      {param name: $additionalName /}
    {/call}
    {if not isLast($additionalName)}
      <br>  // break after every line except the last
    {/if}
  {ifempty}
    No additional people to greet.
  {/foreach}
{/template}

Last updated August 9th, 2020

Edit soy on GitHub