ok, I’m dumbstuck today. I have a template that I’m using for my home page (main listing of entries) as well as my category listing page (lists all entries that belong to a given category):
{exp:weblog:category_heading weblog="{my_weblog}"}<h2>{if category_name}{category_name}{if:else}All Entries{/if}</h2>{/exp:weblog:category_heading}so I’d like to add a header that either reads “All Entries” (if it’s the homepage) or “category name” (if it’s a category listing page).
while the category name header shows up perfectly on the category listing pages, on the homepage I get nothing?
can anybody tell me why?
thanks (and sorry in advance if this is silly. my brain is still on holiday).