class Vox::List

Defined in:

vox/list.cr

Constant Summary

DATE_REGEX = /^\d{4}-\d{2}-\d{2}-/
POSITION_REGEX = /^\d+-/

Constructors

Instance Method Summary

Constructor Detail

def self.new(config : Config) #

[View source]

Instance Method Detail

def add_page(src : String, page : Hash(YAML::Any, YAML::Any)) #

TODO customize date.to_s format (multiple?)


[View source]
def add_render_args(args) #

[View source]
def fetch_config_from_src(src : String) #

[View source]
def fetch_target(src : String, list_config : ListConfig | Nil = nil) #

[View source]
def includes?(src : String) #

[View source]
def lists : Hash(String, Array(Hash(YAML::Any, YAML::Any))) #

[View source]
def write_rss_foot #

[View source]
def write_rss_head #

[View source]
def write_rss_item(src, args, body) #

[View source]