Static Files

In addition to renderable and convertible content, we also have static files.

A static file is a file that does not contain any YAML front matter. These include images, PDFs, and other un-rendered content.

They’re accessible in Liquid via site.static_files and contain the following metadata:

Variable Description

file.path

The relative path to the file.

file.modified_time

The `Time` the file was last modified.

file.extname

The extension name for the file, e.g. .jpg for image.jpg