code: function loadLayouts (options) {
      // return cached layouts if caching enabled
      if (options.cache && GLOBAL.layouts) {
          return GLOBAL.layouts
      }
      // load layouts
      GLOBAL.layouts = loadTemplates(GLOBAL.layoutDirs, options)
      // return promise that will be resolved with layouts
      return GLOBAL.layouts
  }
docs: /* private functions 
  @function loadLayouts
  
  @param {object} options
  
  @returns {Promise}