fenom/docs/tags/import.md

16 lines
212 B
Markdown
Raw Normal View History

2013-02-20 17:57:52 +04:00
Tag {import}
============
2013-02-22 00:05:20 +04:00
Import [macro](./macro.md) from another template
2013-02-20 17:57:52 +04:00
```smarty
{import 'page.macros.tpl'}
2013-02-21 22:47:24 +04:00
```
```smarty
{import 'listing.tpl' as listing}
...
{listing.paginator current=5 count=100}
```