You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create another page (that can be accessed from the sidebar) that also has a list view of the posts (I want to create a page with a list of podcast episodes, apart from the blog posts).
To start with, I tried to replicate the home page (blog list page), but was unable to do so.
I created a page named podcast.md in the _pages directory, and used the following code -
---
layout: default
title: Podcast
---
<div class='o-wrapper'>
<div class='o-grid'>
{% for post in paginator.posts %}
{% include post-card.liquid %}
{% endfor %}
</div>
<div class='o-grid'>
{% include pagination.html %}
</div>
</div>
But the rendered page (accessed from the sidebar) is empty.
Could someone please help me with what I am doing wrong?
Thank you
The text was updated successfully, but these errors were encountered:
Thank you for this beautiful template.
I am trying to create another page (that can be accessed from the sidebar) that also has a list view of the posts (I want to create a page with a list of podcast episodes, apart from the blog posts).
To start with, I tried to replicate the home page (blog list page), but was unable to do so.
I created a page named
podcast.md
in the_pages directory
, and used the following code -But the rendered page (accessed from the sidebar) is empty.
Could someone please help me with what I am doing wrong?
Thank you
The text was updated successfully, but these errors were encountered: