class Tremolite::PostCollection

Defined in:

tremolite/posts/post_collection.cr

Constant Summary

Log = ::Log.for(self)

Constructors

Instance Method Summary

Constructor Detail

def self.new(blog : Tremolite::Blog, posts_path : String, posts_ext : String) #

[View source]

Instance Method Detail

def each_post_file(&block : String -> Nil) #

[View source]
def each_post_from_latest(&block : Tremolite::Post -> Nil) #

[View source]
def initialize_posts #

[View source]
def last_updated_at : Time #

[View source]
def next_to(post : Tremolite::Post) : Tremolite::Post | Nil #

[View source]
def posts : Array(Tremolite::Post) #

[View source]
def posts_from_latest #

[View source]
def prev_to(post : Tremolite::Post) : Tremolite::Post | Nil #

[View source]