module Theme

Defined in:

theme.cr

Class Method Summary

Class Method Detail

def self.assets_dir #

Get the path to the assets directory for the current theme


[View source]
def self.name #

Get the current theme name from config


[View source]
def self.path #

Get the path to the theme directory Resolves theme path from local themes/ directory or extracts baked-in default


[View source]
def self.template_path(template : String) : String #

Get the full path to a template file


[View source]
def self.templates_dir #

Get the path to the templates directory for the current theme


[View source]