我使用grunt assemble --verbose
它并输出以下消息:
Assembling pages...
{ _page: 'all',
dirname: '.tmp',
filename: 'products-en.html',
pageName: 'products-en.html',
pagename: 'products-en.html',
basename: 'products-en',
src: 'src/templates/pages/products-en.hbs',
dest: '.tmp/en/products.html',
assets: '../assets',
ext: '.html',
extname: '.html',
page: '\n\n<h1>Products!</h1>',
data: { language: 'en', file: 'products' },
filePair:
{ src: [Getter],
dest: '.tmp/',
orig: { src: [Object], dest: '.tmp/' } },
index: 3,
number: 4,
first: false,
prev: 2,
middle: true,
next: 4,
last: false,
slug: 'products-en',
isCurrentPage: false,
relativeLink: 'products.html' }
Currentpage: [object Object]
Variables loaded
但是当我查看我的 .tmp 文件夹时,没有.tmp/en/products.html
文件。有谁知道为什么?