The library for web and native user interfaces.
Initial version of the blog
Vjeux committed
Jun 3, 2013 at 00:48 UTC
1902eafa8de3e1e72865ed771982e5d75545290e
6 files changed
+43
-6
docs/_includes/blog_post.html
new
+10
@@ -0,0 +1,10 @@
1
+<h2><a href="/react{{ page.url }}">{{ page.title }}</a></h2>
2
+<p class="meta">{{ page.date | date_to_string }} by {{ page.author }}</p>
3
+
4
+<div id="post">
5
+{% if content != '' %}
6
+ {{ content }}
7
+{% else %}
8
+ {{ page.content }}
9
+{% endif %}
10
+</div>
docs/_layouts/blog.html
new
+13
@@ -0,0 +1,13 @@
1
+---
2
+layout: default
3
+sectionid: blog
4
+---
5
+
6
+<section class="content wrap nosidebar">
7
+ <div class="inner-content">
8
+ {% for page in site.posts %}
9
+ {% include blog_post.html %}
10
+ {% endfor %}
11
+ </div>
12
+</section>
13
+
docs/_layouts/default.html
+1
@@ -41,6 +41,7 @@
41
<li><a href="/react/docs/getting-started.html"{% if page.sectionid == 'docs' %} class="active"{% endif %}>docs</a></li>
42
<li><a href="/react/support.html"{% if page.id == 'support' %} class="active"{% endif %}>support</a></li>
43
<li><a href="/react/downloads.html"{% if page.id == 'downloads' %} class="active"{% endif %}>download</a></li>
44
+ <li><a href="/react/blog.html"{% if page.sectionid == 'blog' %} class="active"{% endif %}>blog</a></li>
45
<li><a href="http://github.com/facebook/react">github</a>
46
</ul>
47
<!-- <iframe src="http://ghbtns.com/github-btn.html?user=facebook&repo=react.js&type=fork"allowtransparency="true" frameborder="0" scrolling="0" width="62" height="20"></iframe> -->
docs/_layouts/post.html
+4
-6
@@ -1,12 +1,10 @@
1
---
2
layout: default
3
+sectionid: blog
4
---
5
5
-<section class="content wrap">
6
- <h2>{{ page.title }}</h2>
7
- <p class="meta">{{ page.date | date_to_string }}</p>
8
-
9
- <div id="post">
10
- {{ content }}
6
+<section class="content wrap nosidebar">
7
+ <div class="inner-content">
8
+ {% include blog_post.html %}
9
</div>
10
</section>
docs/_posts/2013-06-02-jsfiddle-integration.md
new
+10
@@ -0,0 +1,10 @@
1
+---
2
+title: JSFiddle Integration
3
+layout: post
4
+author: Vjeux
5
+---
6
+
7
+[JSFiddle](http://jsfiddle.net) just announced support for React. This is an exciting news as it makes collaboration on snippets of code a lot easier. You can play around this **[base React JSFiddle](http://jsfiddle.net/vjeux/25Rhk/)**, fork it and share it!
8
+
9
+<blockquote class="twitter-tweet" align="center"><p>React (by Facebook) is now available on JSFiddle. <a href="http://t.co/wNQf9JPv5u" title="http://facebook.github.io/react/">facebook.github.io/react/</a></p>— JSFiddle (@jsfiddle) <a href="https://twitter.com/jsfiddle/status/341114115781177344">June 2, 2013</a></blockquote>
10
+<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
\ No newline at end of file
docs/blog.md
new
+5
@@ -0,0 +1,5 @@
1
+---
2
+id: blog
3
+title: Blog
4
+layout: blog
5
+---