{url path="/"} {* You can also set priority and changefreq 0.8 weekly *} {if $_context_ == "" || $_context_ == "catalog" } {loop type="lang" name="category_lang"} {if $_lang_ == "" || $_lang_ == $CODE } {loop type="category" name="category" lang="$ID"} {$URL} {format_date date=$UPDATE_DATE format="c"} {/loop} {/if} {/loop} {loop type="lang" name="product_lang"} {if $_lang_ == "" || $_lang_ == $CODE } {loop type="product" name="product" lang="$ID"} {$URL} {format_date date=$UPDATE_DATE format="c"} {/loop} {/if} {/loop} {/if} {if $_context_ == "" || $_context_ == "content" } {loop type="lang" name="folder_lang"} {if $_lang_ == "" || $_lang_ == $CODE } {loop type="folder" name="folder" lang="$ID"} {$URL} {format_date date=$UPDATE_DATE format="c"} {/loop} {/if} {/loop} {loop type="lang" name="content_lang"} {if $_lang_ == "" || $_lang_ == $CODE } {loop type="content" name="content" lang="$ID"} {$URL} {format_date date=$UPDATE_DATE format="c"} {/loop} {/if} {/loop} {/if} {hook name="sitemap.bottom" lang="$_lang_" context="$_context_"}