rename frac to float

no functional change
add support for GH-292, support the template name in nested partials
Merge pull request #304 from vybs/master

GH-292 support template name in nested partials, need a stack to store the current name