These are chat archives for jescalan/roots

21st
Jan 2017
Six
@ohNegative
Jan 21 2017 03:56
@jescalan with dynamic content and the blog is there a way to limit the number of posts you're showing at any one time, or does it just pull all the posts in the "posts" folder without any way to limit or filter the results? I'm just using the
ul.posts
    for post in site.posts
        li: a(href=post._url)= post.title
Tom Kraak
@tkraak
Jan 21 2017 15:15
@ohNegative … I’ve never played with the dynamic content plugin, but let’s start by figuring out what kind of data structure we are dealing with for site.posts
div
  - console.log(site.posts)
div
Tom Kraak
@tkraak
Jan 21 2017 15:21
this might be helpful too … let’s just see
div
  - console.log(typepof(site.posts))
div