# Function reference

Explore all available template functions.

> **Looking for something specific?**
>
> Use the search bar at the top of the page or press `/` to quickly search through the documentation.

Use the summary below to quickly jump to a specific topic:

- [basename](/reference/cli/templates/functions/basename): Learn how to extract the filename from a path.
- [dirname](/reference/cli/templates/functions/dirname): Learn how to extract the directory from a path.
- [ext](/reference/cli/templates/functions/ext): Learn how to extract the file extension from a path.
- [import](/reference/cli/templates/functions/import): Learn how to load and evaluate a JSON file relative to the template.
- [url](/reference/cli/templates/functions/url): Learn how to resolve a relative path into an absolute URL.
- [uuid](/reference/cli/templates/functions/uuid): Learn how to generate a random UUID.
