Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 468 Bytes

twig.md

File metadata and controls

18 lines (12 loc) · 468 Bytes

Twig

Twig is a shortcut to render custom texts using the Twig templating engine.

Full syntax:
{{% twig template="name" %}}
  CONTENT
{{% end %}}
Options:
  • template [optional] -- (string)
    Render custom text using a predefined template. The content of the shortcode is passed to the template as a clone of the current page.