Config::SiteConfig
Inherits YAML::Serializable < Struct < Value < Object
Global configuration from conf.yml (NOT translatable)
Constructors
Instance methods
Normalize url_prefix to a bare path segment ("blog" for "/blog/" or "/blog"): consumers join it with explicit slashes, and a leading one would produce "//blog/..." links
When true (default), content that has no translation for the current language is still rendered using the default-language version, flagged with is_fallback in the template context. When false, untranslated content is simply absent from that language's site.
When true (default), content that has no translation for the current language is still rendered using the default-language version, flagged with is_fallback in the template context. When false, untranslated content is simply absent from that language's site.
Optional explicit scheme overrides; empty means derive both variants from color_scheme
Optional explicit scheme overrides; empty means derive both variants from color_scheme
folder_indexes feature options (see conf.yml's folder_indexes section)
When true (default), every page goes through a lexbor parse/serialize round trip that normalizes its HTML formatting. When false, pages that need no link or code-class fixing are written as the raw template output (faster, same DOM).
When true (default), every page goes through a lexbor parse/serialize round trip that normalizes its HTML formatting. When false, pages that need no link or code-class fixing are written as the raw template output (faster, same DOM).
Server-side syntax highlighter for markdown code blocks: "tartrazine" (default) or "none" (leaves language-* classes for client-side highlighting)
Server-side syntax highlighter for markdown code blocks: "tartrazine" (default) or "none" (leaves language-* classes for client-side highlighting)
Explicit tartrazine theme name for code blocks (e.g. "monokai"). When unset, dark and light syntax themes are derived from the site's base16 color_scheme
Explicit tartrazine theme name for code blocks (e.g. "monokai"). When unset, dark and light syntax themes are derived from the site's base16 color_scheme
Overrides for the active theme's theme.yml parameters (exposed
to templates as the theme variable)
Overrides for the active theme's theme.yml parameters (exposed
to templates as the theme variable)
URL prefix prepended to all generated links. When the site is served under a subpath (e.g. /blog/), set this to that prefix so the relativizer computes correct relative paths. Leave empty (default) for root-mounted sites.
URL prefix prepended to all generated links. When the site is served under a subpath (e.g. /blog/), set this to that prefix so the relativizer computes correct relative paths. Leave empty (default) for root-mounted sites.