2015-05-07 18:50:36 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2015-07-03 18:06:47 +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">
|
2015-07-08 15:18:28 +08:00
|
|
|
<link rel="stylesheet" href="/static/normalize.css">
|
2015-07-08 15:41:19 +08:00
|
|
|
{% block styles %}{% endblock %}
|
2015-07-03 18:06:47 +08:00
|
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
|
|
<link rel="stylesheet" href="/static/tomorrow.css">
|
2015-07-12 21:26:53 +08:00
|
|
|
<script>
|
|
|
|
(function (con) {
|
|
|
|
'use strict';
|
|
|
|
var prop, method;
|
|
|
|
var empty = {};
|
|
|
|
var dummy = function () {};
|
|
|
|
var properties = 'memory'.split(',');
|
|
|
|
var methods = ('assert,clear,count,debug,dir,dirxml,error,exception,group,' +
|
|
|
|
'groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,' +
|
|
|
|
'show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn').split(',');
|
|
|
|
while (prop = properties.pop()) {
|
|
|
|
con[prop] = con[prop] || empty;
|
|
|
|
}
|
|
|
|
while (method = methods.pop()) {
|
|
|
|
con[method] = con[method] || dummy;
|
|
|
|
}
|
|
|
|
})(this.console = this.console || {});
|
|
|
|
</script>
|
2015-07-13 10:42:32 +08:00
|
|
|
<script src="https://a.alipayobjects.com/??bluebird/2.9.30/bluebird.js,jquery/jquery/1.11.1/jquery.js,es5-shim/4.0.5/es5-shim-debug.js,es5-shim/4.0.5/es5-sham-debug.js,html5shiv/3.7.2/src/html5shiv.js,react/0.13.3/react.js,react-router/0.13.3/ReactRouter.js,seajs/seajs/2.2.2/sea.js,seajs/seajs-combo/1.0.1/seajs-combo.js,seajs/seajs-style/1.0.2/seajs-style.js"></script>
|
2015-07-03 18:06:47 +08:00
|
|
|
<script src="/static/script.js"></script>
|
2015-07-05 17:40:52 +08:00
|
|
|
<script>
|
2015-07-05 23:38:13 +08:00
|
|
|
window.antdVersion = {
|
|
|
|
latest: '{{config.package.version}}',
|
|
|
|
stable: '{{config.package.stableVersion}}'
|
|
|
|
};
|
2015-07-05 17:40:52 +08:00
|
|
|
</script>
|
2015-07-03 18:06:47 +08:00
|
|
|
{% 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-07-03 18:06:47 +08:00
|
|
|
<header id="header">
|
2015-05-08 20:45:08 +08:00
|
|
|
<a class="logo" href="/">
|
2015-07-03 18:06:47 +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>
|
|
|
|
<div class="search">
|
2015-07-10 19:14:21 +08:00
|
|
|
<div class="hidden">
|
|
|
|
{%- for item in resource.pages %}
|
|
|
|
{%- if item.meta.category === 'Components' %}
|
|
|
|
<input type="hidden" value="{{item.title}} {{item.meta.chinese}}"/>
|
|
|
|
{%- endif %}
|
|
|
|
{%- endfor %}
|
|
|
|
</div>
|
2015-07-03 18:06:47 +08:00
|
|
|
<form>
|
2015-07-10 19:14:21 +08:00
|
|
|
<input class="search-input" type="text" placeholder="search">
|
2015-07-03 18:06:47 +08:00
|
|
|
<button type="submit"></button>
|
|
|
|
</form>
|
2015-05-07 18:50:36 +08:00
|
|
|
</div>
|
|
|
|
<nav class="nav">
|
2015-07-03 18:06:47 +08:00
|
|
|
<span class="bar"></span>
|
|
|
|
<ul>
|
|
|
|
<li class="{%- if post.meta.filepath === 'README.md' %}current{%- endif %}">
|
|
|
|
<a href="/">首页</a>
|
|
|
|
</li>
|
2015-07-07 11:52:10 +08:00
|
|
|
<li class="{%- if post.directory|rootDirectoryIs('docs') %}current{%- endif %}">
|
2015-07-05 15:43:07 +08:00
|
|
|
<a href="/docs/introduce">使用</a>
|
2015-07-03 18:06:47 +08:00
|
|
|
</li>
|
2015-07-07 11:52:10 +08:00
|
|
|
<li class="{%- if post.directory|rootDirectoryIs('design') %}current{%- endif %}">
|
2015-07-05 15:43:07 +08:00
|
|
|
<a class="disabled" href="/design/">设计</a>
|
2015-07-03 18:06:47 +08:00
|
|
|
</li>
|
2015-07-08 17:41:32 +08:00
|
|
|
<li class="{%- if post.directory|rootDirectoryIs('components') %}current{%- endif %}">
|
|
|
|
<a href="/components">组件</a>
|
|
|
|
</li>
|
2015-07-03 18:06:47 +08:00
|
|
|
<li>
|
2015-07-06 19:44:48 +08:00
|
|
|
<a target="_blank" href="https://github.com/ant-design/ant-design">Github</a>
|
2015-07-03 18:06:47 +08:00
|
|
|
</li>
|
|
|
|
</ul>
|
2015-05-07 18:50:36 +08:00
|
|
|
</nav>
|
2015-07-03 18:06:47 +08:00
|
|
|
</header>
|
|
|
|
<div class="main-wrapper">
|
|
|
|
{% block aside %}{% endblock %} {% block content %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
{%- include "footer.html" %}
|
2015-05-07 18:50:36 +08:00
|
|
|
</body>
|
|
|
|
</html>
|