更新伪静态文章栏目规则,生成伪静态页面分页代码
This commit is contained in:
@@ -88,9 +88,9 @@
|
||||
<li>暂无相关记录...</li>
|
||||
}
|
||||
</ul>
|
||||
<!-- 分页按钮 -->
|
||||
<!-- 分页按钮 $"/Article/Index/{Model.Id}" + "?page={0}"-->
|
||||
<div class="normal">
|
||||
@Html.Raw(Pages.GetPageStr(ViewBag.pagesize, (int)ViewBag.totalCount, ViewBag.page, $"/Article/Index/{Model.Id}" + "?page={0}", 99, 10, ""))
|
||||
@Html.Raw(Pages.GetPageStr(ViewBag.pagesize, (int)ViewBag.totalCount, ViewBag.page, ViewsHelper.EchoURL(Model), 3, 10, ""))
|
||||
</div>
|
||||
<!-- 点击加载更多 -->
|
||||
</div>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
@foreach (var item in productCategories)
|
||||
{
|
||||
<url>
|
||||
<loc>@(url)@(ViewsHelper.EchoURL(item)))</loc>
|
||||
<loc>@(url)@(ViewsHelper.EchoURL(item))</loc>
|
||||
<priority>0.80</priority>
|
||||
<lastmod>@(lastmod)</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
@@ -39,7 +39,7 @@
|
||||
@foreach (var item in articles)
|
||||
{
|
||||
<url>
|
||||
<loc>@(url)@(ViewsHelper.EchoURL(item)))</loc>
|
||||
<loc>@(url)@(ViewsHelper.EchoURL(item))</loc>
|
||||
<priority>0.80</priority>
|
||||
<lastmod>@(lastmod)</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
@@ -48,7 +48,7 @@
|
||||
@foreach (var item in products)
|
||||
{
|
||||
<url>
|
||||
<loc>@(url)@(ViewsHelper.EchoURL(item)))</loc>
|
||||
<loc>@(url)@(ViewsHelper.EchoURL(item))</loc>
|
||||
<priority>0.80</priority>
|
||||
<lastmod>@(lastmod)</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
|
||||
Reference in New Issue
Block a user