From f8324be2b1ce819ccd0b117044afcca0c6a2ffc2 Mon Sep 17 00:00:00 2001 From: Daniel Hlavacek Date: Thu, 2 Mar 2023 23:21:46 +0100 Subject: [PATCH] Update sitemap.tpl --- templates/cms/sitemap.tpl | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/templates/cms/sitemap.tpl b/templates/cms/sitemap.tpl index 3b7c0a66..f4df9fa0 100644 --- a/templates/cms/sitemap.tpl +++ b/templates/cms/sitemap.tpl @@ -30,23 +30,13 @@ {block name='page_content_container'}
-
+
+ {foreach $sitemapUrls as $group}
-

{$our_offers}

- {include file='cms/_partials/sitemap-nested-list.tpl' links=$links.offers} -
-
-

{$categories}

- {include file='cms/_partials/sitemap-nested-list.tpl' links=$links.categories} -
-
-

{$your_account}

- {include file='cms/_partials/sitemap-nested-list.tpl' links=$links.user_account} -
-
-

{$pages}

- {include file='cms/_partials/sitemap-nested-list.tpl' links=$links.pages} +

{$group.name}

+ {include file='cms/_partials/sitemap-nested-list.tpl' links=$group.links}
+ {/foreach}
{/block}