You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

121 lines
4.8 KiB

10 years ago
<!DOCTYPE html>
<html>
9 years ago
<head>
10 years ago
<meta charset="utf-8">
9 years ago
<meta http-equiv="X-UA-Compatible" content="IE=edge">
10 years ago
<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">
<meta name="description" content="{{ config.site.description }}"/>
10 years ago
<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">
{% block styles %}{% endblock %}
9 years ago
<link rel="stylesheet" href="{{static_url('../dist/demo.css')}}">
<link rel="stylesheet" href="{{static_url('style.css')}}">
<link rel="stylesheet" href="{{static_url('tomorrow.css')}}">
<!--[if IE 8]>
<script src="https://t.alipayobjects.com/images/rmsweb/T1q8JiXftaXXXXXXXX.js"></script>
<![endif]-->
<script src="https://as.alipayobjects.com/component/??console-polyfill/0.2.2/index.js,es5-shim/4.1.14/es5-shim.min.js,es5-shim/4.1.14/es5-sham.min.js,html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://a.alipayobjects.com/??bluebird/2.9.30/bluebird.js,jquery/jquery/1.11.1/jquery.js"></script>
10 years ago
<script>
9 years ago
(function() {
window.ANT_COMPONENTS = [];
window.InstantClickChangeFns = [];
{%- for item in resource.pages|find_category(["CSS","Components"]) %}
ANT_COMPONENTS.push({
title: '{{item.title}}',
desc: '{{item.meta.chinese}}'
});
9 years ago
{%- endfor %}
9 years ago
var i = location.pathname.split('/').lastIndexOf('ant-design');
if (i > 0) {
window.rootUrl = location.origin + location.pathname.split('/').slice(0, 2+1).join('/');
} else {
window.rootUrl = location.origin;
}
})();
10 years ago
</script>
<script src="{{static_url('script.js')}}"></script>
10 years ago
<script>
9 years ago
window.antdVersion = {
latest: '{{config.package.version}}',
stable: '{{config.package.stableVersion}}'
};
10 years ago
</script>
<script src="{{static_url('../dist/demo.js')}}"></script>
10 years ago
<script>
9 years ago
window.require = function (path) {
var result = window;
var namespaces = path.split('/');
namespaces.forEach(function (key, i) {
if (i !== 0 && i === namespaces.length - 1) {
key = capitalizeFirstLetter(key);
}
if (key !== 'lib') {
if (result[key]) {
result = result[key];
} else {
throw 'There should not have modules here 2.';
10 years ago
}
9 years ago
}
});
function capitalizeFirstLetter(string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}
10 years ago
9 years ago
return result;
};
10 years ago
</script>
<script src="https://t.alipayobjects.com/images/T1DrxhXe0mXXXXXXXX.js"></script>
10 years ago
{% block scripts %}{% endblock %}
9 years ago
</head>
<body {% block bodyAttribute %}{% endblock %}>
<header id="header" class="clearfix">
9 years ago
<a class="logo" href="{{static_url('../')}}">
9 years ago
<img width="60" src="https://t.alipayobjects.com/images/rmsweb/T1B9hfXcdvXXXXXXXX.svg">
{{ config.site.name }}
9 years ago
</a>
9 years ago
<div class="search">
<div id="autoComplete"></div>
9 years ago
</div>
<nav class="nav">
10 years ago
<span class="bar"></span>
<ul>
9 years ago
<li class="{%- if post.meta.filepath === 'README.md' %}current{%- endif %}">
9 years ago
<a href="{{static_url('../')}}" data-no-instant>首页</a>
9 years ago
</li>
9 years ago
<li class="{%- if post.directory|rootDirectoryIn(['spec']) %}current{%- endif %}">
9 years ago
<a href="{{static_url('../spec/introduce')}}">设计</a>
9 years ago
</li>
9 years ago
<li>
<a class="nav-link-disabled" href="">案例</a>
9 years ago
</li>
<li class="{%- if post.directory|rootDirectoryIn(['docs','components']) %}current{%- endif %}">
9 years ago
<a href="{{static_url('../docs/introduce')}}">React</a>
</li>
9 years ago
<li>
<a target="_blank" href="https://github.com/ant-design/ant-design">Github</a>
</li>
10 years ago
</ul>
9 years ago
</nav>
<div class="nav-phone-icon"></div>
9 years ago
</header>
<div class="main-wrapper">
{% block aside %}{% endblock %} {% block content %}{% endblock %}
</div>
{%- include "footer.html" %}
<script src="https://t.alipayobjects.com/images/rmsweb/T1AmXhXg0kXXXXXXXX.js" data-no-instant></script>
<script data-no-instant>
InstantClick.on('change', function() {
InstantClickChangeFns.forEach(function(fn) {
fn();
});
});
InstantClick.init();
</script>
9 years ago
</body>
10 years ago
</html>