Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order of posts list wrong? #57

Closed
k4kfh opened this issue Mar 26, 2016 · 2 comments
Closed

Order of posts list wrong? #57

k4kfh opened this issue Mar 26, 2016 · 2 comments

Comments

@k4kfh
Copy link

k4kfh commented Mar 26, 2016

I really like CMS.js, but there is one thing holding me back from using it in place of a normal blog CMS. I like the most recent post to be at the top of the page, but with CMS.js, the most recent is at the very bottom of the page. This really isn't user-friendly as it means viewers have to scroll all the way down to the bottom to see the latest posts, with the older posts just wasting screen real estate up at the top.

Is there a way to fix this? Can I change the order of the posts somehow?

@zlajaa1
Copy link

zlajaa1 commented Mar 26, 2016

In config.js file you can set on the line 34
sortDateOrder:true,

@k4kfh
Copy link
Author

k4kfh commented Mar 27, 2016

Thank you, that seems to have fixed it! For some reason that wasn't in my stock config.js...not sure what happened there...but it's working now. Thanks again!

@k4kfh k4kfh closed this as completed Mar 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants