 
   callback null, layoutContents
 
-setupCustomTags = (config) ->
+setupCustomTags = (config, site) ->
   customTags = {}
   for tagName, fn of config.tags
     do (tagName, fn) ->

    )
  catch err
    console.error "Error while processing page: #{page.url}".red
    callback()

  # Run conversion
  convertContent page.ext, content, site.config.converters, (err, res) ->

              site[type][val] or= { name: val, posts: [] }
              site[type][val].posts.push post

      customTags = setupCustomTags config, site

      liquidOptions =
        files: includes
