module Config

Defined in:

config.cr

Class Method Summary

Class Method Detail

def self.[](lang : String) : LangConfig #

Load or get cached LangConfig for a specific language


[View source]
def self.color_scheme : String #

[View source]
def self.config(path = "conf.yml") #

Load config from conf.yml


[View source]
def self.config_path : String #

Get the actual config file path being used


[View source]
def self.content : String #

[View source]
def self.continuous_import_templates : String #

[View source]
def self.date_output_format : String #

[View source]
def self.description : String #

[View source]
def self.features : Array(String) #

[View source]
def self.features_set : Set(Totem::Any) #

[View source]
def self.fonts : Fonts #

[View source]
def self.footer : String #

[View source]
def self.formats : Hash(String, String) #

[View source]
def self.galleries : String #

[View source]
def self.get(key) #

Get the raw config for legacy access (TODO: remove)


[View source]
def self.image_large : Int32 #

[View source]
def self.image_thumb : Int32 #

[View source]
def self.language : String #

[View source]
def self.languages #

Get all available languages by scanning for conf.LANG.yml files


[View source]
def self.locale : String #

[View source]
def self.options(lang = nil) #

[View source]
def self.output : String #

[View source]
def self.posts : String #

[View source]
def self.reload #

Reload the config file from disk


[View source]
def self.taxonomies : Taxonomies #

[View source]
def self.theme : String #

[View source]
def self.title : String #

[View source]
def self.url : String #

[View source]
def self.verbosity : Int32 #

[View source]