Skip to content

Commit

Permalink
Merge pull request #110 from Hlavtox/adapt-sitemap
Browse files Browse the repository at this point in the history
Adapt theme to dynamic sitemap URLs
  • Loading branch information
kpodemski authored Mar 13, 2023
2 parents c7bc86c + f8324be commit 481b7af
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions templates/cms/sitemap.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,13 @@

{block name='page_content_container'}
<div class="container-fluid">
<div class="row sitemap col-xs-12">
<div class="row sitemap">
{foreach $sitemapUrls as $group}
<div class="col-md-3">
<h2>{$our_offers}</h2>
{include file='cms/_partials/sitemap-nested-list.tpl' links=$links.offers}
</div>
<div class="col-md-3">
<h2>{$categories}</h2>
{include file='cms/_partials/sitemap-nested-list.tpl' links=$links.categories}
</div>
<div class="col-md-3">
<h2>{$your_account}</h2>
{include file='cms/_partials/sitemap-nested-list.tpl' links=$links.user_account}
</div>
<div class="col-md-3">
<h2>{$pages}</h2>
{include file='cms/_partials/sitemap-nested-list.tpl' links=$links.pages}
<h2>{$group.name}</h2>
{include file='cms/_partials/sitemap-nested-list.tpl' links=$group.links}
</div>
{/foreach}
</div>
</div>
{/block}

0 comments on commit 481b7af

Please sign in to comment.