mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 12:20:38 +01:00
- Add pagination - Display full content in /blog - Truncate Recent posts - Add permalink that lists all the blog posts - Add spacing and bullet around recent posts to make it more readable
12 lines
381 B
HTML
12 lines
381 B
HTML
<div class="nav-docs nav-blog">
|
|
<div class="nav-docs-section">
|
|
<h3>Recent posts</h3>
|
|
<ul>
|
|
{% for post in site.posts limit:10 %}
|
|
<li><a href="/react{{ post.url }}"{% if page.title == post.title %} class="active"{% endif %}>{{ post.title }}</a></li>
|
|
{% endfor %}
|
|
<li><a href="/react/blog/all.html">All posts ...</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|