You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/05/20 09:13:38 UTC

[echarts-www] branch master updated: use _body.html

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-www.git


The following commit(s) were added to refs/heads/master by this push:
     new 85a9906  use _body.html
85a9906 is described below

commit 85a9906cd1ead2a11253c3522b65dd4ff1b31c64
Author: pissang <bm...@gmail.com>
AuthorDate: Thu May 20 17:13:25 2021 +0800

    use _body.html
---
 bin/build.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/build.js b/bin/build.js
index d3198ee..0a8df8f 100644
--- a/bin/build.js
+++ b/bin/build.js
@@ -206,7 +206,7 @@ async function buildJade(config) {
         if (pageCfg) {
             cfg.pageConfig = Object.assign({}, pageCfg, {
                 // Because jade doesn't support dynamic include. we have to read HTML and insert it in jade manually.
-                bodyHtml: fs.readFileSync(path.resolve(__dirname, `../_generated/spa/${pageCfg.pageName}/body.html`), 'utf-8')
+                bodyHtml: fs.readFileSync(path.resolve(__dirname, `../_generated/spa/${pageCfg.pageName}/_body.html`), 'utf-8')
             });
         }
         else {

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org