module

Pages

Class methods

content_globs

Return glob patterns for pages content Pages are the fallback - they scan the entire content directory Posts will claim files first, pages get the rest Excludes directories handled by other features (galleries, books)

Source
create_file(sources : Hash(String, String), base : Path) : Markdown::File | Nil

Create a file object from source files

Source
enable_from_scan(scan_result : Array(Markdown::File) | Nil, feature_set : Set(String))

Enable pages feature using pre-scanned files

Source
generate_folder_indexes(content_path : Path)

Generate folder indexes for page directories (non-posts, non-feature folders)

Source
render_indexes(indexes : Array(PageFolderIndex), content_path : Path)

Render all page folder indexes

Source
scan_page_directories(content_path : Path) : Array(PageFolderIndex)

Scan for page directories that need indexes

Source

Nested types