PageFile Objects
The pages you get when looping over a collection or during pagination are instances of a PageFile
.
Each PageFile
maps to a single file on disk.
PageFile Properties
data: (dict
): All the data that the PageFile
sees.
path: (pathlib.Path
): The path to the file on disk
tags: (set(str)
): The tags the page has
date: If set, the date associated with this page, otherwise the modified time of the file.
PageFile Methods
get_permalink(): Returns the permalink to the site page generated by this file.
Will raise an error if the pagination
property is set for this page.