           ext: '.html'
         ]
         options:
-          lorem: require('lorem-ipsum')
+          lorem: lorem
     <% } %>
     connect:
       server:

        options:
          pretty: true
          data:
            lorem: require('lorem-ipsum')
    <% } else if(options.html === 'ejs') { %>
    ejs:
      dev:

livereloadPort = 35729
httpServerPort = 9000

fs         = require 'fs'
path       = require 'path'
loremIpsum = require 'lorem-ipsum'

lorem = (count, options={}) ->
  if typeof count == 'number'
    options.count = count
  else
    options = count ? {}
  options.units ?= 'words'
  loremIpsum options

module.exports = (grunt) ->
  require('load-grunt-tasks')(grunt)
