Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What template language does Tumblr use?

Tumblr uses a very simple template language for it's themes:

{block:Text}
    <li class="post text">
        {block:Title}
            <h3><a href="{Permalink}">{Title}</a></h3>
        {/block:Title}

        {Body}
    </li>
{/block:Text}

Start.io also uses the same format:

<html>
  <head>
    <title>{Name} @ start.io</title>
  </head>
  <body>
    {Groups}
      <h1>{Name}</h1>
      <ul>
      {Links}
        <li><a href="{Permalink}">{Title}</a></li>
      {/Links}
      </ul>
    {/Groups}
  </body>
</html>

Is it custom made, or does it use an existing template language?

If it's custom made, can you suggest some references for creating something similar?

like image 935
meleyal Avatar asked Apr 05 '09 18:04

meleyal


1 Answers

These template engines appear custom-made, though they look extremely similar to Smarty.

like image 119
Ron DeVera Avatar answered Sep 23 '22 10:09

Ron DeVera



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!