diff --git a/Makefile b/Makefile index 9e079c6f5..96c7b3113 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ deploy: @npm run deploy pub: - ./node_modules/.bin/kp $(filter-out $@,$(MAKECMDGOALS)) + npm run pub pub-all: npm run pub:all diff --git a/examples/i18n/page.json b/examples/i18n/page.json index d5a63ae0c..5092653c8 100644 --- a/examples/i18n/page.json +++ b/examples/i18n/page.json @@ -3,6 +3,7 @@ "lang": "zh-CN", "pages": { "index": { + "lang": "zh-CN", "titleSize": "46", "theatreSize": "46", "paraHeight": "1.8", @@ -96,6 +97,7 @@ "lang": "en-US", "pages": { "index": { + "lang": "en-US", "titleSize": "50", "theatreSize": "42", "paraHeight": "1.6", diff --git a/examples/pages/template/index.tpl b/examples/pages/template/index.tpl index b70d7594a..efdb71bab 100644 --- a/examples/pages/template/index.tpl +++ b/examples/pages/template/index.tpl @@ -179,7 +179,7 @@

<%= 4 >

<%= 5 > @@ -191,7 +191,7 @@

<%= 7 >

<%= 5 > @@ -203,7 +203,7 @@

<%= 9 >

<%= 5 >