Skip to content

Commit

Permalink
Add usage examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
fadrizul committed Sep 18, 2011
1 parent bda8609 commit bcf4db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -33,7 +33,7 @@ First we need to declare the extension of your view files. This can be anything
To set values for variable tags, you need to include it as options in res.render() function. In this example we're setting values for {{ name }} and {{ title }}.

###Template inheritance:
The most powerful part of Twig is template inheritance. Template inheritance allows you to build a base “skeleton” template that contains all the common elements of your site and defines blocks that child templates can override.
The most powerful part of TwigJS is template inheritance. Template inheritance allows you to build a base “skeleton” template that contains all the common elements of your site and defines blocks that child templates can override.

Sounds complicated but is very basic. It’s easiest to understand it by starting with an example.

Expand Down

0 comments on commit bcf4db6

Please sign in to comment.