ant-design/site/templates/layout.html

64 lines
2.7 KiB
HTML
Raw Normal View History

2015-05-07 18:50:36 +08:00
<!DOCTYPE html>
<html>
<head>
2015-06-25 15:29:56 +08:00
<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">
<title>{% block title %}{{ config.site.name }} - {{ config.site.description }}{% endblock %}</title>
<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">
<link rel="stylesheet" href="/static/normalize.css">
{% block styles %}{% endblock %}
<link rel="stylesheet" href="/static/style.css">
<link rel="stylesheet" href="/static/tomorrow.css">
<script src="https://a.alipayobjects.com/??jquery/jquery/1.11.1/jquery.js,es5-shim/4.0.5/es5-shim.js,es5-shim/4.0.5/es5-sham.js,html5shiv/3.7.2/src/html5shiv.js,react/0.13.3/react.min.js,bluebird/2.9.30/bluebird.js"></script>
<script src="/static/script.js"></script>
{% block scripts %}{% endblock %}
2015-05-07 18:50:36 +08:00
</head>
2015-06-04 18:25:08 +08:00
<body {% block bodyAttribute %}{% endblock %}>
2015-06-25 15:29:56 +08:00
<header id="header">
2015-05-08 20:45:08 +08:00
<a class="logo" href="/">
2015-06-25 15:29:56 +08:00
<img width="60" src="https://t.alipayobjects.com/images/rmsweb/T1B9hfXcdvXXXXXXXX.svg">
{{ config.site.name }}
2015-05-07 18:50:36 +08:00
</a>
2015-06-25 15:29:56 +08:00
2015-05-07 18:50:36 +08:00
<div class="search">
2015-06-25 15:29:56 +08:00
<form>
<input type="text" placeholder="search">
<button type="submit"></button>
</form>
2015-05-07 18:50:36 +08:00
</div>
<nav class="nav">
2015-05-27 10:35:37 +08:00
<span class="bar"></span>
2015-06-25 15:29:56 +08:00
<ul>
<li class="{%- if post.meta.filepath === 'README.md' %}current{%- endif %}">
<a href="/">首页</a>
</li>
<li class="{%- if post.meta.category === 'start' %}current{%- endif %}">
<a href="/docs/introduce">上手</a>
</li>
<li class="{%- if post.meta.template === 'component' %}current{%- endif %}">
<a href="/components">组件</a>
</li>
<li class="{%- if post.filename === 'design' %}current{%- endif %}">
<a class="disabled" href="/docs/design">设计</a>
</li>
<li class="{%- if post.filename === 'modes' %}current{%- endif %}">
<a class="disabled" href="/docs/modes">模式</a>
</li>
<li class="{%- if post.filename === 'cases' %}current{%- endif %}">
<a class="disabled" href="/docs/cases">案例</a>
</li>
</ul>
2015-05-07 18:50:36 +08:00
</nav>
2015-06-25 15:29:56 +08:00
</header>
<div class="main-wrapper">
2015-06-04 17:05:28 +08:00
{% block aside %}{% endblock %}
{% block content %}{% endblock %}
2015-06-25 15:29:56 +08:00
</div>
{%- include "footer.html" %}
2015-05-07 18:50:36 +08:00
</body>
</html>