I working on a blog site and need some help with some Couch logic. Normally I would have a separate blog list page and not sure what to do since I am using the home page as the "blog list page" and pulling in the posts from the blog via <cms:pages masterpage='blog.php' limit='4' paginate='1'> tag:
I am using blog.php as the page post page and struggling to figure out how to accomplish listing blogs in folders using the <cms:if k_is_folder /> tag. Should I be wrapping the index page with that tag?
When I wrapped blog.php in the <cms:if k_is_page>.....<else /><cms:embed 'index.php'></cms:if> it broke all of the pages.
What is the best way to structure these two pages?
I am using blog.php as the page post page and struggling to figure out how to accomplish listing blogs in folders using the <cms:if k_is_folder /> tag. Should I be wrapping the index page with that tag?
When I wrapped blog.php in the <cms:if k_is_page>.....<else /><cms:embed 'index.php'></cms:if> it broke all of the pages.
What is the best way to structure these two pages?