change hbs & glob path
This commit is contained in:
parent
edc6a9f401
commit
e661a0f9a3
@ -1,5 +1,5 @@
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
const hbs = require(path.resolve('node_modules', 'hbs'));
|
const hbs = require('hbs');
|
||||||
|
|
||||||
const registerPartialsWithExtensions = require('./utils/registerPartialsWithExtensions');
|
const registerPartialsWithExtensions = require('./utils/registerPartialsWithExtensions');
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
{{>"partials/header.hbs"}}
|
{{>"partials/header.hbs"}}
|
||||||
|
<title>{{ pageTitle }}</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
{{>"partials/header.hbs"}}
|
{{>"partials/header.hbs"}}
|
||||||
|
<title>{{ pageTitle }}</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -3,4 +3,3 @@
|
|||||||
rel="stylesheet" />
|
rel="stylesheet" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
<title>{{ pageTitle }}</title>
|
|
@ -1,7 +1,7 @@
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
const glob = require(path.resolve('node_modules', 'glob'));
|
const glob = require('glob');
|
||||||
|
|
||||||
module.exports = (hbs, rootDir) => {
|
module.exports = (hbs, rootDir) => {
|
||||||
glob
|
glob
|
||||||
|
Loading…
Reference in New Issue
Block a user