refactor: expose inlineTemplate.fn