class Gallery::Gallery

Overview

An image gallery

Defined in:

gallery.cr

Constructors

Instance Method Summary

Instance methods inherited from class Markdown::File

<=>(other : File) <=>, _replace_shortcodes(text : String) : String _replace_shortcodes, breadcrumbs(lang = nil) breadcrumbs, date : Time | Nil date, dependencies : Array(String) dependencies, full_shortcodes_list(text) full_shortcodes_list, html(lang = nil) html, link(lang = nil) link, load(lang = nil) : Nil load, metadata(lang = nil) metadata, output(lang = nil) output, rendered(lang = nil) rendered, replace_shortcodes(lang) replace_shortcodes, shortcodes(lang = nil) shortcodes, source(lang = nil) source, summary(lang = nil) summary, taxonomies taxonomies, template(lang = nil) template, text(lang = nil) text, title(lang = nil) title, to_s(io) to_s, toc(lang = nil) toc, value(lang = nil) value

Constructor methods inherited from class Markdown::File

new(sources : Hash(String, String), base : Path) new

Class methods inherited from class Markdown::File

posts posts

Constructor Detail

def self.new(sources, base, image_list : Array(String)) #

[View source]

Instance Method Detail

def breadcrumbs(lang = nil) #

Breadcrumbs is Galleries / this gallery

FIXME should be the path


[View source]
def load(lang = nil) #
Description copied from class Markdown::File

Load the post from disk (for current language only)


[View source]
def value(lang = nil) #
Description copied from class Markdown::File

Return a value Crinja can use in templates


[View source]