         callback null, new KelvinJavaScriptTemplates filename, base, buffer.toString()
 
   wintersmith.registerTemplatePlugin '**/*.*mustache', KelvinTemplate
+  wintersmith.registerTemplatePlugin "**/#{partialDir}/*.*(mustache|hogan)", KelvinPartialTemplate
   wintersmith.registerContentPlugin 'css', '**/*.less', KelvinStylesheets
   wintersmith.registerContentPlugin 'js', '**/*.js', KelvinJavaScripts
   wintersmith.registerContentPlugin 'jst', '**/*.mustache', KelvinJavaScriptTemplates

  
  isProd = false
  kelvin = new Kelvin(isProd)
  
  class KelvinTemplate extends wintersmith.TemplatePlugin


        try
          tpl = hogan.compile contents.toString()
          callback null, new KelvinTemplate tpl
        catch error
          callback error
  
  class KelvinPartialTemplate extends KelvinTemplate
  
  KelvinPartialTemplate.fromFile = (filename, base, callback) ->
    fs.readFile path.join(base, filename), (error, contents) ->
      if error then callback error
      else
        try
          ext = path.extname(filename)
          basename = path.basename(filename, ext)
          tpl = hogan.compile contents.toString()
          partials[basename] = tpl
          callback null, new KelvinPartialTemplate tpl
        catch error
          callback error

