Browse Source

fix pages

pull/4/head
afc163 10 years ago
parent
commit
2d6285a31b
  1. 6
      docs/design.md
  2. 5
      docs/download.md
  3. 3
      docs/modes.md
  4. 4
      docs/start.md
  5. 4
      static/style.css
  6. 7
      theme/templates/layout.html

6
docs/design.md

@ -0,0 +1,6 @@
# 设计
---

5
docs/download.md

@ -0,0 +1,5 @@
# 下载
---

3
docs/modes.md

@ -0,0 +1,3 @@
# 模式
---

4
docs/start.md

@ -0,0 +1,4 @@
# 上手
---

4
static/style.css

@ -350,10 +350,6 @@ footer ul li > a {
padding-top: 30px;
}
.aside-container li {
margin-left: 5px;
}
.aside-container li a {
line-height: 44px;
height: 44px;

7
theme/templates/layout.html

@ -28,8 +28,11 @@
<li class="{%- if post.filename === 'index' %}current{%- endif %}">
<a href="/">首页</a>
</li>
<li class="{%- if post.filename === 'instruction' %}current{%- endif %}">
<a href="/docs/instruction">原则</a>
<li class="{%- if post.filename === 'start' %}current{%- endif %}">
<a href="/docs/start">上手</a>
</li>
<li class="{%- if post.filename === 'design' %}current{%- endif %}">
<a href="/docs/design">设计</a>
</li>
<li class="{%- if post.meta.template === 'component' %}current{%- endif %}">
<a href="/components/button">组件</a>

Loading…
Cancel
Save