mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 04:33:10 +00:00
* 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.
19 lines
349 B
HTML
19 lines
349 B
HTML
---
|
|
layout: default
|
|
sectionid: blog
|
|
---
|
|
|
|
<section class="content wrap documentationContent">
|
|
{% include nav_blog.html %}
|
|
<div class="inner-content">
|
|
<h1>{{ page.title }}</h1>
|
|
<p class="meta">{{ page.date | date: "%B %e, %Y" }} by {{ page.author }}</p>
|
|
|
|
<hr>
|
|
|
|
<div class="post">
|
|
{{ content }}
|
|
</div>
|
|
</div>
|
|
</section>
|