def read_theme_config
      file = @site.in_theme_dir("_config.yml")
      theme_name = @site.theme.name

      config = safe_load_file(file)

      check_config_is_hash!(config, file)
      validate_config_hash config[theme_name] unless config[theme_name].nil?

      config
    end
def read_theme_config
      file = @site.in_theme_dir("_config.yml")
      theme_name = @site.theme.name

      config = safe_load_file(file)

      check_config_is_hash!(config, file)
      validate_config_hash config[theme_name] unless config[theme_name].nil?

      config
    end
Public: Read the '_config.yml' file within the theme-gem.
         Additionally validates that the extracted config data and the
         the 'value' of '<site.theme.name> key', when present, is a Hash.

 Returns a Configuration Hash