mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
15 lines
202 B
Markdown
15 lines
202 B
Markdown
Tag {macros}
|
|
============
|
|
|
|
|
|
```smarty
|
|
declare macros
|
|
|
|
{macros.paginator(current, total, skip=true)}
|
|
... paginator code ...
|
|
{/macros}
|
|
...
|
|
invoke macros
|
|
|
|
{macros.paginator current=$page total=100}
|
|
``` |