Skip to main content

Files

File blocks create downloadable file attachments with descriptions.

Basic File

📄guide.pdf

Download the complete user guide.

Multiple Files

📊report-2024.xlsx

Annual report spreadsheet with all quarterly data.

📦assets.zip

Download all brand assets including logos and icons.

Syntax

{% file src="/path/to/file.pdf" %}
Optional description of the file.
{% endfile %}

Attributes

  • src - The path or URL to the downloadable file

Best Practices

  • Use descriptive filenames
  • Add helpful descriptions explaining what the file contains
  • Organize files in a consistent directory structure
  • Consider file sizes for user experience