class Config::LangConfig

Overview

Translatable configuration - can be overridden by conf.LANG.yml

Included Modules

Defined in:

config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(title : String = "Nicolino", description : String = "A Nicolino Site", footer : String = "Powered by Nicolino", url : String = "https://example.com", nav_items : Array(String) = NavItems.new, date_output_format : String = "%Y-%m-%d %H:%M", locale : String = "en_US.UTF-8", taxonomies : Hash(String, Config::Taxonomy) = Taxonomies.new) #

[View source]

Instance Method Detail

def date_output_format : String #

[View source]
def date_output_format=(date_output_format : String) #

[View source]
def description : String #

[View source]
def description=(description : String) #

[View source]
def footer : String #

[View source]
def footer=(footer : String) #

[View source]
def locale : String #

[View source]
def locale=(locale : String) #

[View source]
def nav_items : NavItems #

[View source]
def nav_items=(nav_items : NavItems) #

[View source]
def taxonomies : Taxonomies #

Translatable taxonomies


[View source]
def taxonomies=(taxonomies : Taxonomies) #

Translatable taxonomies


[View source]
def title : String #

Translatable properties - with defaults for partial overrides


[View source]
def title=(title : String) #

Translatable properties - with defaults for partial overrides


[View source]
def url : String #

[View source]
def url=(url : String) #

[View source]