☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

template

Table of contents

Description:

This key defines the template that this snippet should inherit, out of the available Snippet Templates.

Appears in:
└── Snippet
    └── template
Type:
string
Examples:

In this example, we have configured a snippet to use the button template.

Copied to clipboard
_snippets_definitions:
  custom_button:
    template: button
{
  "_snippets_definitions": {
    "custom_button": {
      "template": "button"
    }
  }
}
Open in a new tab