ant-design/theme/templates/layout.html

67 lines
2.6 KiB
HTML
Raw Normal View History

2015-05-07 18:50:36 +08:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
2015-06-04 14:42:24 +08:00
<title>{% block title %}{{ config.site.name }} - {{ config.site.description }}{% endblock %}</title>
2015-05-27 16:39:51 +08:00
<link rel="icon" href="https://t.alipayobjects.com/images/T1QUBfXo4fXXXXXXXX.png" type="image/x-icon">
<link rel="shortcut icon" href="https://t.alipayobjects.com/images/T1QUBfXo4fXXXXXXXX.png" type="image/x-icon">
2015-05-12 15:49:05 +08:00
<link rel="stylesheet" href="/static/normalize.css">
2015-05-08 14:57:59 +08:00
<link rel="stylesheet" href="/static/style.css">
2015-05-16 21:11:58 +08:00
<link href="http://fonts.useso.com/css?family=Raleway:600,500,400,300" rel="stylesheet" type="text/css">
2015-05-09 18:24:25 +08:00
<link rel="stylesheet" href="/static/tomorrow.css">
2015-05-08 12:11:14 +08:00
<script src="https://a.alipayobjects.com/jquery/jquery/1.11.1/jquery.js"></script>
2015-05-12 17:28:59 +08:00
<!-- react -->
<script src="https://t.alipayobjects.com/images/T12TdfXlpbXXXXXXXX.js"></script>
2015-05-21 20:36:13 +08:00
<script src="/static/script.js"></script>
2015-05-07 18:50:36 +08:00
</head>
2015-06-04 16:30:23 +08:00
<body>
2015-05-07 18:50:36 +08:00
<header id="header">
2015-05-08 20:45:08 +08:00
<a class="logo" href="/">
2015-06-04 16:04:39 +08:00
<img width="60" src="https://t.alipayobjects.com/images/rmsweb/T1B9hfXcdvXXXXXXXX.svg">
2015-06-04 14:42:24 +08:00
{{ config.site.name }}
2015-05-07 18:50:36 +08:00
</a>
<div class="search">
<form>
<input type="text" placeholder="search">
<button type="submit"></button>
</form>
</div>
<nav class="nav">
2015-05-27 10:35:37 +08:00
<span class="bar"></span>
2015-05-07 18:50:36 +08:00
<ul>
2015-05-25 19:30:25 +08:00
<li class="{%- if post.meta.filepath === 'README.md' %}current{%- endif %}">
2015-05-09 18:33:14 +08:00
<a href="/">首页</a>
2015-05-07 18:50:36 +08:00
</li>
2015-05-25 19:30:25 +08:00
<li class="{%- if post.filename === 'start' %}current{%- endif %}">
2015-05-09 18:52:17 +08:00
<a href="/docs/start">上手</a>
</li>
2015-05-25 19:30:25 +08:00
<li class="{%- if post.filename === 'design' %}current{%- endif %}">
2015-05-09 18:52:17 +08:00
<a href="/docs/design">设计</a>
2015-05-07 18:50:36 +08:00
</li>
2015-05-25 19:30:25 +08:00
<li class="{%- if post.meta.template === 'component' %}current{%- endif %}">
2015-06-02 19:57:33 +08:00
<a href="/components">组件</a>
2015-05-07 18:50:36 +08:00
</li>
2015-05-25 19:30:25 +08:00
<li class="{%- if post.filename === 'modes' %}current{%- endif %}">
2015-05-09 18:33:14 +08:00
<a href="/docs/modes">模式</a>
2015-05-07 18:50:36 +08:00
</li>
2015-06-01 16:11:51 +08:00
<li class="{%- if post.filename === 'cases' %}current{%- endif %}">
2015-05-09 18:33:14 +08:00
<a href="/docs/cases">案例</a>
2015-05-07 18:50:36 +08:00
</li>
2015-05-09 18:33:14 +08:00
<li class="{%- if post.filename === 'download' %}current{%- endif %}">
<a href="/docs/download">下载</a>
2015-05-07 18:50:36 +08:00
</li>
</ul>
</nav>
</header>
2015-05-15 18:03:27 +08:00
<div class="main-wrapper">
2015-06-04 17:05:28 +08:00
{% block aside %}{% endblock %}
{% block content %}{% endblock %}
2015-05-15 18:03:27 +08:00
</div>
2015-06-02 16:57:01 +08:00
{%- include "footer.html" %}
2015-05-07 18:50:36 +08:00
</body>
</html>