Increase the number of latest blog posts displayed
This commit is contained in:
parent
8439f366c8
commit
0a7e6bd42d
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ export default function({ nav }) {
|
|||
<a className="header-anchor" href="#latest-blog-posts">Latest Blog Posts</a>
|
||||
</h2>
|
||||
<ul>
|
||||
{nav.menu("/blog/posts").children.sort(sortPosts).slice(0,3).map(post => (
|
||||
{nav.menu("/blog/posts").children.sort(sortPosts).slice(0,5).map(post => (
|
||||
<li>
|
||||
<a href={post.data.url} >{post.data.title}</a> — <time className="post-list-date">{Intl.DateTimeFormat("en-CA", { dateStyle: "long" }).format(post.data.date)}</time>
|
||||
</li>
|
||||
|
|
Loading…
Reference in a new issue