I have a blog which is organized in dynamic folders to categorize the different posts.
I had actually never thought about giving dedicated descriptions to the list views of every folder,
which I did now using the folder description.
So I am using
The problem now at top level, i.e. http://example.com/blog/ is that this is not a folder and I need conditionally show another output:
Can I implement this via if-else statements? I am working on the code in blog_list.html.
I had actually never thought about giving dedicated descriptions to the list views of every folder,
which I did now using the folder description.
So I am using
- Code: Select all
<cms:show k_folder_title />
- Code: Select all
<cms:excerpt count='155'><cms:show k_folder_desc /></cms:excerpt>
The problem now at top level, i.e. http://example.com/blog/ is that this is not a folder and I need conditionally show another output:
- Code: Select all
<cms:get_custom_field 'seo_title_blog' masterpage='globals.php' />
- Code: Select all
<cms:get_custom_field 'seo_description_blog' masterpage='globals.php' />
Can I implement this via if-else statements? I am working on the code in blog_list.html.