class Creestal::Core::Resources::Page

Defined in:

core/resources/page.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) #

[View source]

Instance Method Detail

def content : String #

[View source]
def date : Time | Nil #

[View source]
def draft : Bool #

[View source]
def front_matter : FrontMatter #

[View source]
def layout_name : String #

[View source]
def markdown : String #

[View source]
def output_content : String #

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

[View source]
def parse_entry : NamedTuple(front_matter: FrontMatter, markdown: String) #

[View source]
def tags : Array(String) #

[View source]
def title : String #

[View source]