Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
27affb22
Commit
27affb22
authored
Nov 16, 2016
by
Leopoldthecoder
Committed by
cinwell.li
Nov 16, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update index links
parent
540d7297
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
Makefile
Makefile
+1
-1
examples/i18n/page.json
examples/i18n/page.json
+2
-0
examples/pages/template/index.tpl
examples/pages/template/index.tpl
+3
-3
No files found.
Makefile
View file @
27affb22
...
@@ -33,7 +33,7 @@ deploy:
...
@@ -33,7 +33,7 @@ deploy:
@
npm run deploy
@
npm run deploy
pub
:
pub
:
./node_modules/.bin/kp
$(
filter-out
$@
,
$(MAKECMDGOALS)
)
npm run pub
pub-all
:
pub-all
:
npm run pub:all
npm run pub:all
...
...
examples/i18n/page.json
View file @
27affb22
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
"lang"
:
"zh-CN"
,
"lang"
:
"zh-CN"
,
"pages"
:
{
"pages"
:
{
"index"
:
{
"index"
:
{
"lang"
:
"zh-CN"
,
"titleSize"
:
"46"
,
"titleSize"
:
"46"
,
"theatreSize"
:
"46"
,
"theatreSize"
:
"46"
,
"paraHeight"
:
"1.8"
,
"paraHeight"
:
"1.8"
,
...
@@ -96,6 +97,7 @@
...
@@ -96,6 +97,7 @@
"lang"
:
"en-US"
,
"lang"
:
"en-US"
,
"pages"
:
{
"pages"
:
{
"index"
:
{
"index"
:
{
"lang"
:
"en-US"
,
"titleSize"
:
"50"
,
"titleSize"
:
"50"
,
"theatreSize"
:
"42"
,
"theatreSize"
:
"42"
,
"paraHeight"
:
"1.6"
,
"paraHeight"
:
"1.6"
,
...
...
examples/pages/template/index.tpl
View file @
27affb22
...
@@ -179,7 +179,7 @@
...
@@ -179,7 +179,7 @@
<p><
%=
4
></p>
<p><
%=
4
></p>
<router-link
<router-link
active-class=
"active"
active-class=
"active"
to=
"/guide/design"
to=
"/
<%= lang >/
guide/design"
exact
><
%=
5
>
exact
><
%=
5
>
</router-link>
</router-link>
</div>
</div>
...
@@ -191,7 +191,7 @@
...
@@ -191,7 +191,7 @@
<p><
%=
7
></p>
<p><
%=
7
></p>
<router-link
<router-link
active-class=
"active"
active-class=
"active"
to=
"/component/layout"
to=
"/
<%= lang >/
component/layout"
exact
><
%=
5
>
exact
><
%=
5
>
</router-link>
</router-link>
</div>
</div>
...
@@ -203,7 +203,7 @@
...
@@ -203,7 +203,7 @@
<p><
%=
9
></p>
<p><
%=
9
></p>
<router-link
<router-link
active-class=
"active"
active-class=
"active"
to=
"/resource"
to=
"/
<%= lang >/
resource"
exact
><
%=
5
>
exact
><
%=
5
>
</router-link>
</router-link>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment