diff --git a/docs/spec/introduce.md b/docs/spec/introduce.md index f06aa3f1b9..b55b54bc84 100644 --- a/docs/spec/introduce.md +++ b/docs/spec/introduce.md @@ -28,9 +28,9 @@ Ant Design 是一个致力于提升『用户』和『设计者』使用体验的 我们采用 [React](http://facebook.github.io/react/) 封装了一套 Ant Design 的组件库,也欢迎社区其他框架的实现版本。 - [Ant Design of React](/docs/react/introduce)(官方实现) --

Ant Design of Angular 2.0

--

vue-antd

--

antd-ember

+- +- +- ## 如何贡献 diff --git a/site/theme/static/common.less b/site/theme/static/common.less index d84d0b031f..807cdf86ad 100644 --- a/site/theme/static/common.less +++ b/site/theme/static/common.less @@ -67,11 +67,16 @@ div.main-container { opacity: .67; } +.outside-link { + display: inline-block; +} + .outside-link:after { content: '\E669'; font-family: 'anticon'; margin-left: 5px; font-size: 12px; + color: #aaa; } .outside-link.internal { diff --git a/site/theme/static/markdown.less b/site/theme/static/markdown.less index e38be06685..482950c858 100644 --- a/site/theme/static/markdown.less +++ b/site/theme/static/markdown.less @@ -62,6 +62,9 @@ .markdown ul > li { list-style: circle; + &:empty { + display: none; + } } .markdown > ul li, diff --git a/site/theme/template/Content/Article.jsx b/site/theme/template/Content/Article.jsx index 608d0d1927..70af998b4f 100644 --- a/site/theme/template/Content/Article.jsx +++ b/site/theme/template/Content/Article.jsx @@ -17,6 +17,8 @@ export default class Article extends React.Component { this.pingTimer = utils.ping(checkImgUrl, status => { if (status === 'responded') { links.forEach(link => (link.style.display = 'block')); + } else { + links.forEach(link => link.parentNode.removeChild(link)); } }); }