 
         files: [
           expand: true
-          cwd: "<%= core.dist %>"
+          cwd: "<%= config.dist %>"
           src: "**/*.html"
-          dest: "<%= core.dist %>/"
+          dest: "<%= config.dist %>/"
         ]
 
     xmlmin:
       dist:
         files: [
           expand: true
-          cwd: "<%= core.dist %>"
+          cwd: "<%= config.dist %>"
           src: "**/*.xml"
-          dest: "<%= core.dist %>/"
+          dest: "<%= config.dist %>/"
         ]
 
     cssmin:

        command: "jekyll build"

      archive:
        command: "jekyll build -d <%= core.cfg.destination %><%= core.var.base %>/"

      sync:
        command: "rsync -avz --delete --progress <%= core.var.ignore_files %> <%= core.dist %>/ <%= core.var.remote_host %>:<%= core.var.remote_dir %> > rsync.log"

      s3:
        command: "s3cmd sync -rP --guess-mime-type --delete-removed --no-preserve --cf-invalidate --exclude '.DS_Store' <%= core.var.static_files %> <%= core.var.s3_bucket %>"

    concurrent:
      options:


    clean:
      dist:
        src: [".tmp", "<%= config.dist %>"]

      postDist:
        src: ["<%= config.dist %>/assets/css/", "<%= config.dist %>/assets/js/"]

    cleanempty:
      dist:
        src: ["<%= config.dist %>/**/*"]

  # Fire up a server on local machine for development
  grunt.registerTask "serve", [
