From 4122d0334f503ac0284bd47fa70c86f4061c157f Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Mon, 20 Mar 2017 12:01:06 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Remove=20handlebars=20from=20ser?= =?UTF-8?q?ving=20admin=20(#593)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refs TryGhost/Ghost#8140 refs TryGhost/Ghost#8184 - now that the admin index page is just html, we don't need handlebars anymore - this changes the template be called .html to reflect this --- ghost/admin/lib/asset-delivery/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/admin/lib/asset-delivery/index.js b/ghost/admin/lib/asset-delivery/index.js index 49390a371b..bd718b9152 100644 --- a/ghost/admin/lib/asset-delivery/index.js +++ b/ghost/admin/lib/asset-delivery/index.js @@ -37,9 +37,9 @@ module.exports = { fs.ensureDirSync(assetsOut); if (fs.existsSync(results.directory + '/index.min.html')) { - fs.copySync(results.directory + '/index.min.html', `${templateOutDir}/default-prod.hbs`, {overwrite: true}); + fs.copySync(results.directory + '/index.min.html', `${templateOutDir}/default-prod.html`, {overwrite: true}); } else { - fs.copySync(results.directory + '/index.html', `${templateOutDir}/default.hbs`, {overwrite: true}); + fs.copySync(results.directory + '/index.html', `${templateOutDir}/default.html`, {overwrite: true}); } assets.forEach(function (relativePath) {