This commit is contained in:
make
2025-04-23 15:45:37 +08:00
parent 30270ea7c3
commit 485ef71f9a
14 changed files with 156 additions and 91 deletions

View File

@@ -27,13 +27,13 @@ cache_life="86400" func="generateCategoryPager" export_name="resData" /}
</sitemap>
{/for}
<!-- 小说章节取最新50w条 这里生成10个索引文件即可 -->
{for start="1" end="11"}
<!-- 小说章节取最新章节 -->
{for start="0" end="$resData.p_data.pages"}
<sitemap>
<loc>https://www.{$DomainModel->d_domain}/sitemap-chapters-{$i}.xml</loc>
<loc>https://www.{$DomainModel->d_domain}/sitemap-chapters-{$i+1}.xml</loc>
<lastmod>{:date('Y-m-d')}</lastmod>
</sitemap>
{/for}
</sitemapindex>