diff --git a/components/button.md b/components/button.md index cab64ab1e78a77fd865e81c1822d1f5124db09be..24f4ba934976f65f72356783bf6cf4b81dfca7a4 100644 --- a/components/button.md +++ b/components/button.md @@ -1,7 +1,7 @@ # Button 按钮 - category: Component -- API: github.com/react-component/dialog +- API: github.com/react-component/button --- diff --git a/components/select.md b/components/select.md index eea01aeaca4192a85707b673e7ef8287835b31fe..dc63546198300b4cf07c560cc425fc61a3d5aa0c 100644 --- a/components/select.md +++ b/components/select.md @@ -1,6 +1,7 @@ # Select 选择框 - category: Component +- API: github.com/react-component/select --- diff --git a/theme/templates/layout.html b/theme/templates/layout.html index 78c4c80b126f4abc206c1b189526230bcc8f8010..bbce2bcfd89b718da320f71921ec5071278112cb 100644 --- a/theme/templates/layout.html +++ b/theme/templates/layout.html @@ -74,10 +74,12 @@

{{ post.title }} + {%- if post.meta.API %} API 使用说明 + {%- endif %}

{{ post.html }}