This commit is contained in:
2017-05-10 16:55:25 +02:00
parent 1fbf624c12
commit 75f3aff2c2
11 changed files with 180 additions and 30 deletions

View File

@ -1 +1,2 @@
{{> partials/header}}
{{> partials/header}}
{{__analyze 'partials/header'}}

View File

@ -0,0 +1 @@
this is a footer

View File

@ -5,6 +5,7 @@ import * as path from 'path'
let testHbsDir = path.join(__dirname, 'hbs_testfiles')
let testPartialDir = path.join(testHbsDir, 'partials')
let testResultDir = path.join(__dirname, 'testresult')
tap.test('smarthbs -> should create partials', async () => {
await smarthbs.registerPartialDir(testPartialDir)
})

View File

@ -1 +1 @@
<head></head>
<head></head>analyzed