diff --git a/flextype/Themes.php b/flextype/Themes.php index 1d9105ad..ba218c87 100644 --- a/flextype/Themes.php +++ b/flextype/Themes.php @@ -159,7 +159,8 @@ class Themes foreach ($_blueprints as $blueprint) { if (!is_bool(Themes::_strrevpos($blueprint, '/blueprints/'))) { $blueprint_name = str_replace('.yaml', '', substr($blueprint, Themes::_strrevpos($blueprint, '/blueprints/')+strlen('/blueprints/'))); - $blueprints[$blueprint_name] = $blueprint_name; + $blueprint = YamlParser::decode(Filesystem::getFileContent($blueprint)); + $blueprints[$blueprint_name] = $blueprint['title']; } } }