Hi folks,
I have two group formats, the first is grouping my pages within folders by Asset Metadata (field: page_template), then by the second metadata field by Parent Asset sorted by metadata (field: sub-section).
Now, I want to change the way it displays depending on the metadata value, so something like (but not in conditional format, I need keyword replacements please)
%begin_asset_metadata_page_template_key^:eq:Guide%
%group_listing%(I want to insert the above code here, so it will display a different container div depending on guide or cluster)
if {guide}
<ol>%group_listing%</ol>
else if {cluster}
<ul>%group_listing%</ul>
end
<ul class="nav-accordion__list unbulleted js-nav-reveal"> <li> <h2>%group_name^preg_replace:1276887%</h2> </li> %group_listing% </ul>
Thanks.