|
|
@ -180,6 +180,7 @@ export default class ViewEngine extends LifecycleUnit {
|
|
|
|
const partials_dir: unknown = this.config.get('app.views.partials_dir')
|
|
|
|
const partials_dir: unknown = this.config.get('app.views.partials_dir')
|
|
|
|
if ( String(partials_dir) ) {
|
|
|
|
if ( String(partials_dir) ) {
|
|
|
|
const partials_path = this.template_path(String(partials_dir))
|
|
|
|
const partials_path = this.template_path(String(partials_dir))
|
|
|
|
|
|
|
|
console.log({ partials_path, partials_dir })
|
|
|
|
this.logger.info(`Registering Handlebars partials from: ${partials_path}`)
|
|
|
|
this.logger.info(`Registering Handlebars partials from: ${partials_path}`)
|
|
|
|
|
|
|
|
|
|
|
|
for await ( const entry of fs.walk(partials_path) ) {
|
|
|
|
for await ( const entry of fs.walk(partials_path) ) {
|
|
|
|