medusa v0.2.0 Medusa.Page

Creates and writes pages

Link to this section Summary

Functions

Creates a new page by reading the given file and compiling it with the templating engine

Builds the target path using the file path and the dist folder

Writes content for a file in the given dist

Link to this section Functions

Creates a new page by reading the given file and compiling it with the templating engine.

Link to this function

target(file_path, dist_path)

Builds the target path using the file path and the dist folder

Link to this function

write(content, dist_path, file_path)

Writes content for a file in the given dist.