File
page.file: the content file a page comes from.
Fields#
base_file_name- The file name without extension, e.g.
index. content_base_name- The page’s name: the bundle directory for an index file, else the file name without extension.
dir- The directory of
path, with a trailing slash. is_content_adapter- Whether the page comes from a content adapter (
_content.html). path- The path relative to the content directory, e.g.
posts/my-post/index.md. unique_id- A hash of the path, stable across builds.