     logMessage "done (#{elapsedTime} ms)", noTime:true
 
   # Single entry (e.g. /2013/05/26/how_i_learned_javascript)
-  app.get /^\/(\d{4})\/(\d{2})\/(\d+)(-\d+)?\/(.*)$/, (req, res) ->
+  app.get /^\/(\d{4})\/(\d{2})\/(\d+)(-\d+)?\/(.*)$/, (req, res, next) ->
     year  = req.params[0]
     month = req.params[1]
     date  = req.params[2]

          res.setHeader 'Content-Type', 'text/html; charset=utf-8'
          res.send html

  # List of years
  app.get '/archives', (req, res) ->
    years = listYears()

      if not exists
        # Find static file that matches URL
        staticPath = "#{basedir}/#{year}/#{month}/#{slug}"
        fs.stat staticPath, (err, stats) ->
          if err
            respondWithNotFound res
          else if stats.isDirectory()
            next()  # Will match the next route
          else
            res.sendfile staticPath
        return
      fs.readFile filepath, {encoding:'utf8'}, (err, markdown) ->
        if err
