I went through Mustache tutorial
This question is slightly related to Embed mustache template into another template
I got all other things working except partials
I tried to do
base.mustache:
{{testVar}}
<h2>Names</h2>
{{#names}}
  {{> user}}
{{/names}}
user.mustache:
<strong>{{name}}</strong>
but instead of rendering user template or it's content i.e. value of name, 
it rendered Names c:\blahFolder\user.mustache 
I use hogan-template-compiler to pre-compile my templates.
Can you figure out why is that happening from information above or you need more info?
I assume, my compiler code is fine because I get testVar value correctly rendered.
If you really need to see, here is my hoganCompiler.js
var partialsDir = __dirname + '/views/partials'
        , jsDir = __dirname + '/public/js/compiled';
var hogan = require('hogan.js')
        , path = require('path')
        , join = path.join
        , fs = require('fs')
        , onModify
        , relations = {}
        , watch;
onModify = function (filename)
{
    console.log('Changed', filename);
    if (relations[filename])
    {
        filename = relations[filename];
    }
    console.log('Which relate on', filename);
    var path, contents;
    path = join(partialsDir, filename);
    try
    {
        if (!filename.match(/\.mustache/) || !fs.statSync(path).isFile())
        {
            return;
        }
    }
    catch( err )
    {
        console.log( "Failed to stat file " + path + " - skipping");
        return;
    }
    contents = fs.readFileSync(path).toString();
    var templateName = filename.replace(/.mustache$/, '');
    // TODO: catch compiler exception..
    var compiledTemplate =
            templateName + " = new Hogan.Template("
                    + hogan.compile(contents, {asString: true}) + ");";
    var jsFilename = filename.replace(/mustache$/, 'js');
    fs.writeFileSync(join(jsDir, jsFilename), compiledTemplate );
}
watch = function (filename)
{
    if (relations[filename])
    {
        return;
    }
    var path;
    if (filename.charAt(0) == '/')
    {
        path = filename;
    }
    else
    {
        path = join(partialsDir, filename);
    }
//    fs.watch(path, function (event, f)
    fs.watchFile(path, function (event, f)
    {
        console.log('event is: ' + event);
        if( !f ) // fs.watch doesn't work on all platforms..
        {
            // fall back to just reprocessing all in dir
            fs.readdirSync(path).forEach(onModify);
        }
        else
        {
            onModify(f);
        }
    });
}
fs.readdirSync(partialsDir).forEach(onModify);
watch(partialsDir);
function getPartials(partials, dir)
{
    var baseDir = __dirname + '/views/';
    var files = fs.readdirSync(dir);
    for (var i in files)
    {
        if (files[i].match(/\.mustache/) && fs.statSync(join(dir, files[i])).isFile())
        {
            partials[files[i].replace(/.mustache$/, '')] =
                join(dir, files[i]).replace(baseDir, '');
        }
    }
    return partials;
}
var partials = {};
partials = getPartials(partials, partialsDir);
exports.partials = getPartials(partials, join(partialsDir, '..'));