diff --git a/static/code.jsx b/static/code.jsx new file mode 100644 index 0000000000..737c583521 --- /dev/null +++ b/static/code.jsx @@ -0,0 +1,6 @@ +/*jshint ignore:start */ +var CodeBox = React.createClass({ + render: function() { + return
{this.props.code};
+ }
+});
diff --git a/theme/templates/component.html b/theme/templates/component.html
index 91e0cfc508..6a01302ba4 100644
--- a/theme/templates/component.html
+++ b/theme/templates/component.html
@@ -2,10 +2,3 @@
{% block title %}{{post.title}} - {{config.site.name}}{% endblock %}
{% block description %}{% if post.summay %}{{post.summary}}{% endif %}{% endblock %}
-{% block main -%}
-{%- include "aside.html" %}
-