fix permalink, temporarily remove script field of Jekyll

This commit is contained in:
Cheng Lou
2013-10-29 10:14:19 -07:00
committed by Connor McSheffrey
parent b92c433c50
commit ff9246316f
6 changed files with 6 additions and 12 deletions
+1 -2
View File
@@ -2,8 +2,7 @@
id: inline-styles-tip
title: Inline Styles
layout: docs
permalink: inline-styles.html
script: "cookbook/inline-styles.js"
permalink: inline-styles-tip.html
---
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:
-1
View File
@@ -3,7 +3,6 @@ id: inline-styles
title: Inline Styles
layout: docs
permalink: inline-styles.html
script: "cookbook/inline-styles.js"
---
### Problem
+1 -2
View File
@@ -2,8 +2,7 @@
id: if-else-in-JSX-tip
title: If-Else in JSX
layout: docs
permalink: inline-styles.html
script: "cookbook/inline-styles.js"
permalink: if-else-in-JSX-tip.html
---
`if-else` statements don't work inside JSX, since JSX is really just sugar for functions:
+1 -2
View File
@@ -2,8 +2,7 @@
id: if-else-in-JSX
title: If-Else in JSX
layout: docs
permalink: inline-styles.html
script: "cookbook/inline-styles.js"
permalink: if-else-in-JSX.html
---
### Problem
+2 -3
View File
@@ -1,9 +1,8 @@
---
id: self-closing-tag
id: self-closing-tag-tip
title: Self-Closing Tag
layout: docs
permalink: inline-styles.html
script: "cookbook/inline-styles.js"
permalink: self-closing-tag-tip.html
---
In JSX, `<MyComponent />` alone is valid while `<MyComponent>` isn't.
+1 -2
View File
@@ -2,8 +2,7 @@
id: self-closing-tag
title: Self-Closing Tag
layout: docs
permalink: inline-styles.html
script: "cookbook/inline-styles.js"
permalink: self-closing-tag.html
---
### Problem