   ###
   env.addFilter 'spread', (input, delimiter = ' ') ->
     if typeof input != 'object'
-      grunt.log.error('[spread] input should be object, but `' + typeof input + '` has been specified', '[' + this.ctx.page.href + ']')
+      grunt.log.error('[spread] input should be object, but `' + typeof input + '` has been specified', '[' + @ctx.page.href + ']')
       return
 
     spreaded = ' '

   * @return {string} Logs to Grunt console
  ###
  env.addGlobal 'warn', (input...) ->
    grunt.log.error(input..., '[' + this.ctx.page.href + ']')

  ###*
   * Get list of files or directories inside specified directory

   * @return {*}                   Value of `prop` if no `value` specified
  ###
  env.addGlobal 'config', (prop, value, merge = true) ->
    ctx           = @ctx
    ctxValue      = _.get(ctx, prop)
    valueIsArray  = Array.isArray(value)
    valueIsObject = typeof value == 'object' and value and not valueIsArray
