{# Example template for a config-defined shortcode (the "shortcode builder"). Shipped as the `[callout]` example in the plugin's default config: shortcodes: - name: callout template: 'shortcodes/callout.html.twig' Use it in a page: [callout type="warning" title="Heads up"]Body text[/callout] `params`, `content` and the raw `shortcode` object are available. All `params`/`content` output is auto-escaped by Twig, so author input is safe. #}
{% if params.title %}{{ params.title }}{% endif %}
{{ content }}