Update docs

This commit is contained in:
bzick 2013-02-20 17:57:52 +04:00
parent 731d3fc292
commit 93f246282e
2 changed files with 21 additions and 0 deletions

6
docs/tags/import.md Normal file
View File

@ -0,0 +1,6 @@
Tag {import}
============
```smarty
{import 'page.macros.tpl'}
```

15
docs/tags/macros.md Normal file
View File

@ -0,0 +1,15 @@
Tag {macros}
============
```smarty
declare macros
{macros.paginator(current, total, skip=true)}
... paginator code ...
{/macros}
...
invoke macros
{macros.paginator current=$page total=100}
```