module Listings

Included Modules

Defined in:

listings.cr

Class Method Summary

Class methods inherited from module Utils

find_all(path, extension) find_all, path_to_link(path, extension = nil) path_to_link, should_skip_file?(base_path : Path) : Bool should_skip_file?, slugify(string) slugify

Class Method Detail

def self.enable(is_enabled : Bool, content_path : Path) #

Enable listings feature


[View source]
def self.read_all(listings_path : Path) : Array(Listing) #

[View source]
def self.render(listings : Array(Listing)) #

[View source]
def self.render_css #

[View source]
def self.render_index(listings : Array(Listing)) #

[View source]
def self.render_listing(listing : Listing) #

[View source]