Order by Date is no longer working

Happy New Year! For anyone that added content to any of my previous posts and I did not reply, THANK YOU! I’ve barely had time to touch my blog in months. My new year resolution is to spend more time at the computer.


That being said, I added some new pages, but they are not being loaded/displayed by the date in descending order. Below is a snippet of the blog.md file and you can see here that the posts are not displaying in descending order. I’m probably overlooking something simple, but I can’t see what it is.

content:
  items:
    '@self.children'
  limit: 6
  order:
    by: date
    dir: desc
  pagination: true
  url_taxonomy_filters: true

That looks like a fun blog!

But more information about your pages and your setup, please. It’s like you’re showing us a photo of your plane on the outside and asking us why it doesn’t fly.

For me it looks like it’s ordered as intended. Last entry was on January 30th 2019, wasn’t it?

My theme is a child of the Quark theme.
All of the content pages are item.md files.
I’m not really certain how to specifically give more details about the pages and setup, but the good news is the problem is fixed!

This post was causing an issue with the stylesheet because the video iframe was too wide and it messed up the 2-column layout, therefore the 2nd-newest post that should be at the top of the right column was being pushed halfway down the page in a single column.

This was the iframe code…

<iframe src='https://www.brighteon.com/embed/6a2ca74f-43b3-4f72-a9fd-f78727d39fa3' width='560' height='315' frameborder='0' allowfullscreen></iframe>

and I changed it to this…

<iframe src='https://www.brighteon.com/embed/6a2ca74f-43b3-4f72-a9fd-f78727d39fa3' width='100%' height='315' frameborder='0' allowfullscreen></iframe>

I question if that’s the proper way to fix it, but it seems to be working.

1 Like

Your reply was posted shortly after I got it figured out and while I was still composing a reply to @hughbris so that’s why it looks to be working as intended :smile:

1 Like