mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 00:20:28 +01: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.
11 lines
247 B
HTML
11 lines
247 B
HTML
<h1><a href="/react{{ page.url }}">{{ page.title }}</a></h1>
|
|
<p class="meta">{{ page.date | date_to_string }} by {{ page.author }}</p>
|
|
|
|
<div id="post">
|
|
{% if content != '' %}
|
|
{{ page.excerpt }}
|
|
{% else %}
|
|
{{ page.content }}
|
|
{% endif %}
|
|
</div>
|