Skip to content

Soy Template Example

Mateusz Szczap edited this page Jun 23, 2013 · 4 revisions
{namespace soy.example}

/**
 * Word list
 * @param words The words to display
 */
{template .clientWords}
    <ul>
        {foreach $word in $words}
            <li>{$word}</li>
        {/foreach}
    </ul>
{/template}
Clone this wiki locally