-
- 48 Posts
I am building a blog with several categories using Articles. I would like to have my main blog page have several sections separated out with filtered posts for each category. Right now, I am accomplishing this using multiple getResources calls. However, since the template for the main blog page is considered to be the "container template", when viewing the year or month archive pages, the content from the main blog page is what is displayed. The articles are just the most recent and not articles from that date or month because I am not using the [[+articles]] placeholder.
I was wondering if there was a way to detect if a page is an archive page, then use a conditional statement to either use the getResources call or the [[+articles]] placeholder. Any suggestions?