 for k, v of dependencies
   dependencies[k] = shared.concat(v)
 
-js_src = 'js/**/*.js'
 
 # Mapping of source HTML pages to their output paths in the site directory
 bake_map = {}
 for k, v of dependencies
-  bake_map[k] = k.replace('site', 'html')
+  bake_map[k] = k.replace(site, 'html/')
 
 module.exports = (grunt) ->
   grunt.initConfig

  tab: 'bootstrap/js/tab'
  server: 'felina-js/src/main'

lib_list = []

dir_list = [
  'vendor/dropzone'
  'vendor/webshim/js-webshim/minified'
  'vendor/bootstrap/dist/fonts'
  'img'
]

css_list = [
  'vendor/bootstrap/dist/css/bootstrap.css'
  'vendor/blueimp-gallery/css/blueimp-gallery.css'
  'vendor/blueimp-bootstrap-image-gallery/css/bootstrap-image-gallery.css'
]

for k, v of libs
  full = vendor + v + js
  libs[k] = full
  lib_list.push(full)

all_list = lib_list.concat(dir_list).concat(css_list)

# Module paths


      compile:
        files:
          site + jst_: [templates]

    stylus:
      compile:
        expand: true
        cwd: 'stylus'
        src: ['*.styl']
        dest: site + 'css/'
        ext: '.css'

    watch:
