fix permalink, temporarily remove script field of Jekyll
Cheng Lou committed
Sep 27, 2013 at 23:26 UTC
ff9246316fdc8c74f5404573dd24f5f853b4f3bb
6 files changed
+6
-12
docs/cookbook/cb-02-inline-styles tip.md
+1
-2
@@ -2,8 +2,7 @@
2
id: inline-styles-tip
3
title: Inline Styles
4
layout: docs
5
-permalink: inline-styles.html
6
-script: "cookbook/inline-styles.js"
5
+permalink: inline-styles-tip.html
6
---
7
8
In React, inline styles are not specified as a string, but as an object whose key is the camelCased version of the style name, and whose value is the style's value in string:
docs/cookbook/cb-02-inline-styles.md
-1
@@ -3,7 +3,6 @@ id: inline-styles
3
title: Inline Styles
4
layout: docs
5
permalink: inline-styles.html
6
-script: "cookbook/inline-styles.js"
6
---
7
8
### Problem
docs/cookbook/cb-03-if-else-in-JSX tip.md
+1
-2
@@ -2,8 +2,7 @@
2
id: if-else-in-JSX-tip
3
title: If-Else in JSX
4
layout: docs
5
-permalink: inline-styles.html
6
-script: "cookbook/inline-styles.js"
5
+permalink: if-else-in-JSX-tip.html
6
---
7
8
`if-else` statements don't work inside JSX, since JSX is really just sugar for functions:
docs/cookbook/cb-03-if-else-in-JSX.md
+1
-2
@@ -2,8 +2,7 @@
2
id: if-else-in-JSX
3
title: If-Else in JSX
4
layout: docs
5
-permalink: inline-styles.html
6
-script: "cookbook/inline-styles.js"
5
+permalink: if-else-in-JSX.html
6
---
7
8
### Problem
docs/cookbook/cb-04-self-closing-tag tip.md
+2
-3
@@ -1,9 +1,8 @@
1
---
2
-id: self-closing-tag
2
+id: self-closing-tag-tip
3
title: Self-Closing Tag
4
layout: docs
5
-permalink: inline-styles.html
6
-script: "cookbook/inline-styles.js"
5
+permalink: self-closing-tag-tip.html
6
---
7
8
In JSX, `<MyComponent />` alone is valid while `<MyComponent>` isn't.
docs/cookbook/cb-04-self-closing-tag.md
+1
-2
@@ -2,8 +2,7 @@
2
id: self-closing-tag
3
title: Self-Closing Tag
4
layout: docs
5
-permalink: inline-styles.html
6
-script: "cookbook/inline-styles.js"
5
+permalink: self-closing-tag.html
6
---
7
8
### Problem