{* * 2023 Anvanto * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * * @author Anvanto * @copyright 2023 Anvanto * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) *} {if isset($anblogsitemap.sitemapLinks)} {foreach from=$anblogsitemap.sitemapLinks item=$linkMap} {/foreach} {/if} {if isset($anblogsitemap.posts) && isset($anblogsitemap.categories)} {$anblogsitemap.linkSiteMap|escape:'htmlall':'UTF-8'} 1.0 daily {foreach from=$anblogsitemap.posts item=$post} 0.9 {$anblogsitemap.lastmod|escape:'htmlall':'UTF-8'} daily {if $post.preview_url !== ''} {/if} {/foreach} {foreach from=$anblogsitemap.categories item=$category} 0.8 {$anblogsitemap.lastmod|escape:'htmlall':'UTF-8'} daily {if $category.thumb !== ''} {/if} {/foreach} {/if}