class Creestal::Core::Resources::Layout

Defined in:

core/resources/layout.cr

Constructors

Instance Method Summary

Instance methods inherited from class Creestal::Core::Resources::Base

add_dependency(path : String) add_dependency, depends_on : Array(String) depends_on, entry : Core::FileEntry entry, output_content : String output_content, output_path(extension : String) : String output_path, path_without_ext : String path_without_ext

Constructor methods inherited from class Creestal::Core::Resources::Base

new(entry : Core::FileEntry) new

Constructor Detail

def self.new(entry : Core::FileEntry, site_source : String, partials_path : String) #

[View source]

Instance Method Detail

def include_deps : Array(String) #

[View source]
def output_content(page : Resources::Page, site_graph : Core::SiteGraph) : String #

[View source]
def output_path(extension : String = "html") : String #

[View source]