Browse Source
* All posts under blog/ * Index @ blog/index.html * Only show excerpt on index with "continue reading" link * Date, name formatting improvements (better for humans) It could probably still use some style tweaks but I feel better about it. Moving forward, we'll use the "excerpt" feature of Jekyll with the default separator, which is just 2 newlines. So the first paragraph will be special. Alternatively you can specify excerpt, but we'll want to fix the layout so that gets added in.main
Paul O’Shannessy
12 years ago
10 changed files with 51 additions and 25 deletions
@ -1,14 +0,0 @@ |
|||
--- |
|||
layout: default |
|||
sectionid: blog |
|||
--- |
|||
|
|||
<section class="content wrap documentationContent"> |
|||
{% include nav_blog.html %} |
|||
<div class="inner-content"> |
|||
{% for page in site.posts %} |
|||
{% include blog_post.html %} |
|||
{% endfor %} |
|||
</div> |
|||
</section> |
|||
|
@ -1,10 +1,11 @@ |
|||
--- |
|||
title: JSFiddle Integration |
|||
layout: post |
|||
author: Vjeux |
|||
author: Christopher Chedeau |
|||
--- |
|||
|
|||
[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 . |
|||
[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. |
|||
|
|||
|
|||
<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> |
|||
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script> |
|||
|
@ -1,4 +0,0 @@ |
|||
--- |
|||
title: Blog |
|||
layout: blog |
|||
--- |
@ -0,0 +1,28 @@ |
|||
--- |
|||
title: Blog |
|||
layout: default |
|||
sectionid: blog |
|||
--- |
|||
|
|||
<section class="content wrap documentationContent"> |
|||
{% include nav_blog.html %} |
|||
<div class="inner-content"> |
|||
{% for page in site.posts %} |
|||
<div class="post-list-item"> |
|||
<h1><a href="/react{{ page.url }}">{{ page.title }}</a></h1> |
|||
<p class="meta">{{ page.date | date: "%B %e, %Y" }} by {{ page.author }}</p> |
|||
|
|||
<hr> |
|||
|
|||
<div class="post"> |
|||
{{ page.excerpt }} |
|||
{% if page.excerpt != page.content %} |
|||
<p> |
|||
<a href="/react{{ page.url }}">Continue Reading →</a> |
|||
</p> |
|||
{% endif %} |
|||
</div> |
|||
</div> |
|||
{% endfor %} |
|||
</div> |
|||
</section> |
Loading…
Reference in new issue