class Tremolite::Blog

Defined in:

tremolite/blog.cr

Constant Summary

Log = ::Log.for(self)

Constructors

Instance Method Summary

Constructor Detail

def self.new(data_path : String = "data", posts_ext : String = "md", cache_path : String = "cache", public_path : String = "public", config_path : String = @data_path, layout_path : String = (File.join([@data_path, "layout"])).to_s, assets_path : String = (File.join([@data_path, "assets"])).to_s, pages_path : String = (File.join([@data_path, "pages"])).to_s, mod_watcher_yaml_path : String | Nil = nil) #

[View source]

Instance Method Detail

def assets_path : String #

[View source]
def cache_path : String #

[View source]
def config_path : String #

[View source]
def data_manager #

[View source]
def data_path : String #

[View source]
def html_buffer : Tremolite::HtmlBuffer #

[View source]
def image_resizer : Tremolite::ImageResizer? #

[View source]
def initialize_posts #

[View source]
def layout_path : String #

[View source]
def markdown_wrapper #

[View source]
def mod_watcher #

[View source]
def pages_path : String #

[View source]
def post_collection #

[View source]
def posts_ext : String #

[View source]
def posts_ext=(posts_ext : String) #

[View source]
def posts_path : String #

[View source]
def posts_path=(posts_path : String) #

[View source]
def public_path : String #

[View source]
def render #

[View source]
def renderer #

[View source]
def run #

[View source]
def run_server #

[View source]
def server #

[View source]
def url_to_public_path(url : String) #

[View source]
def validator #

[View source]