   ]
   grunt.registerTask 'test', [ 'csslint' ]
   grunt.registerTask 'new', [ 'exec:new_post' ]
-  grunt.registerTask 'default', [ 'serve' ]
+  grunt.registerTask 'default', [
+    'exec:lo_baseurl'
+    'serve'
+  ]

    exec:
      bundler: cmd: 'bundle install --quiet'
      remove: cmd: 'rm -rf _site/*'
      jekyll: cmd: 'bundle exec jekyll build --quiet'
      new_post: cmd: 'bash _helper/new-post.sh'
      status: cmd: "clear && echo the site is now accessible at http://localhost:<%= connect.server.options.port %>"

        expand: true
        cwd: '_assets/img/'
        src: '*'
        dest: '_site/dist/img/'
      } ]

      jquery: files: [ {
