update index links

pull/1110/head
Leopoldthecoder 2016-11-16 19:16:34 +08:00 committed by cinwell.li
parent 540d72971c
commit 27affb22c0
3 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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",

View File

@ -179,7 +179,7 @@
<p><%= 4 ></p>
<router-link
active-class="active"
to="/guide/design"
to="/<%= lang >/guide/design"
exact><%= 5 >
</router-link>
</div>
@ -191,7 +191,7 @@
<p><%= 7 ></p>
<router-link
active-class="active"
to="/component/layout"
to="/<%= lang >/component/layout"
exact><%= 5 >
</router-link>
</div>
@ -203,7 +203,7 @@
<p><%= 9 ></p>
<router-link
active-class="active"
to="/resource"
to="/<%= lang >/resource"
exact><%= 5 >
</router-link>
</div>