diff --git a/docs/_includes/blog_post.html b/docs/_includes/blog_post.html new file mode 100644 index 0000000000000..508a13b3358cf --- /dev/null +++ b/docs/_includes/blog_post.html @@ -0,0 +1,10 @@ +

{{ page.title }}

+

{{ page.date | date_to_string }} by {{ page.author }}

+ +
+{% if content != '' %} + {{ content }} +{% else %} + {{ page.content }} +{% endif %} +
diff --git a/docs/_includes/nav_blog.html b/docs/_includes/nav_blog.html new file mode 100644 index 0000000000000..3cc9ec8b1888c --- /dev/null +++ b/docs/_includes/nav_blog.html @@ -0,0 +1,10 @@ + diff --git a/docs/_layouts/blog.html b/docs/_layouts/blog.html new file mode 100644 index 0000000000000..84be39f58c6a9 --- /dev/null +++ b/docs/_layouts/blog.html @@ -0,0 +1,14 @@ +--- +layout: default +sectionid: blog +--- + +
+ {% include nav_blog.html %} +
+ {% for page in site.posts %} + {% include blog_post.html %} + {% endfor %} +
+
+ diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 019c0d10febb7..d12322c3a477f 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -41,6 +41,7 @@
  • docs
  • support
  • download
  • +
  • blog
  • github diff --git a/docs/_layouts/post.html b/docs/_layouts/post.html index 822eadba87859..84e7bb2ac58a7 100644 --- a/docs/_layouts/post.html +++ b/docs/_layouts/post.html @@ -1,12 +1,11 @@ --- layout: default +sectionid: blog --- -
    -

    {{ page.title }}

    -

    {{ page.date | date_to_string }}

    - -
    - {{ content }} +
    + {% include nav_blog.html %} +
    + {% include blog_post.html %}
    diff --git a/docs/_posts/2013-06-02-jsfiddle-integration.md b/docs/_posts/2013-06-02-jsfiddle-integration.md new file mode 100644 index 0000000000000..06f45c96a4936 --- /dev/null +++ b/docs/_posts/2013-06-02-jsfiddle-integration.md @@ -0,0 +1,10 @@ +--- +title: JSFiddle Integration +layout: post +author: Vjeux +--- + +[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/kb3gN/)**, fork it and share it! A [fiddle without JSX](http://jsfiddle.net/vjeux/VkebS/) is also available . + + + diff --git a/docs/blog.md b/docs/blog.md new file mode 100644 index 0000000000000..b3e64e10d9745 --- /dev/null +++ b/docs/blog.md @@ -0,0 +1,4 @@ +--- +title: Blog +layout: blog +---