Official response from Kara Barlow
A blog on your NationBuilder website will always show the most recent post first, and then go back by publication date. If you'd like to highlight a post by bringing it to the top of the list, change the publication date of the post to be today's date.
Share this post
Showing 11 reactions
Sign in with
{% for post in page.blog.most_recent_blog_posts %}
In the page template where you wish to include the blog posts sorted by published date, simply pull in the _sorted_by_date_blog_posts.html partial template with a subpage call:
{% subpage “blog” with “sorted_by_date_blog_posts” %}
I hope this helps!
Film and Campaign Ltd.
Certified Architect
I’ve tried sorting them by date with this
{% assign postsbydate = site.most_recent_blog_post_pages | sort: ‘page.published_at’ %}
but it seems I’m overlooking something, or the sorting isn’t supported or doesn’t work for dates?
Hines Digital
Certified Architect
Certified Expert