<commit_before>var express = require('express')
var lessMiddleware = require('less-middleware')
var autoprefixer = require('express-autoprefixer')
var expressLayouts = require('express-ejs-layouts')
var compression = require('compression')
var staticAsset = require('static-asset')
var browserify = require('browserify-middleware')
var markdown = require( "markdown" ).markdown;

var server = express()

server.set('view engine', 'ejs')
server.set('views', __dirname + '/views')
server.set('layout', 'default')
server.use(expressLayouts)
server.use(compression())

server.use(lessMiddleware(__dirname + '/assets'))
server.use(autoprefixer({
  options: 'last 2 versions'
}))

server.get('/bundle.js', browserify(__dirname + '/assets/javascripts/app.js', {
  cache: true,
  precompile: true
}))

server.use(staticAsset(__dirname + '/assets'))
server.use(express.static(__dirname + '/assets'))

server.get('/', function (req, res) {

  var schedule = require('./schedule').map(d => {
    d.program = d.program.map(s => { 
      if(s.abstract) {
        s.abstractHTML =  markdown.toHTML(s.abstract)
      }
      console.log('s', s)
      return s;
    })
    return d
  })

  res.render('index', {
    speakers: require('./speakers'),
    schedule: schedule,
    pageClass: ''
  })
})

server.get('/speakers/:slug', function (req, res) {

  var speaker = require('./speakers').find((s) => s.slug == req.params.slug)
  speaker.bioHTML = markdown.toHTML(speaker.bio)
  
  res.render('speaker', {
    pageClass: 'page-speaker',
    speaker: speaker,
  })

})
<commit_msg>Remove console<commit_after>var express = require('express')
var lessMiddleware = require('less-middleware')
var autoprefixer = require('express-autoprefixer')
var expressLayouts = require('express-ejs-layouts')
var compression = require('compression')
var staticAsset = require('static-asset')
var browserify = require('browserify-middleware')
var markdown = require( "markdown" ).markdown;

var server = express()

server.set('view engine', 'ejs')
server.set('views', __dirname + '/views')
server.set('layout', 'default')
server.use(expressLayouts)
server.use(compression())

server.use(lessMiddleware(__dirname + '/assets'))
server.use(autoprefixer({
  options: 'last 2 versions'
}))

server.get('/bundle.js', browserify(__dirname + '/assets/javascripts/app.js', {
  cache: true,
  precompile: true
}))

server.use(staticAsset(__dirname + '/assets'))
server.use(express.static(__dirname + '/assets'))

server.get('/', function (req, res) {

  var schedule = require('./schedule').map(d => {
    d.program = d.program.map(s => { 
      if(s.abstract) {
        s.abstractHTML =  markdown.toHTML(s.abstract)
      }
      return s;
    })
    return d
  })

  res.render('index', {
    speakers: require('./speakers'),
    schedule: schedule,
    pageClass: ''
  })
})

server.get('/speakers/:slug', function (req, res) {

  var speaker = require('./speakers').find((s) => s.slug == req.params.slug)
  speaker.bioHTML = markdown.toHTML(speaker.bio)
  
  res.render('speaker', {
    pageClass: 'page-speaker',
    speaker: speaker,
  })

})

{'fraction_non_alphanumeric': 0.1770196330865787, 'fraction_numerical': 0.000643707756678468, 'mean_word_length': 4.276740237691001, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '284318', 'n_tokens_mistral': 1002, 'n_tokens_neox': 1009, 'n_words': 193}