update
This commit is contained in:
@ -15,7 +15,7 @@ const limit = 12;
|
||||
// 页码
|
||||
const { page = 1 } = Astro.props;
|
||||
const { code, data, total = 0, about } = await newsIndex(config.id, limit, page);
|
||||
console.log(about);
|
||||
console.log(total)
|
||||
if (!data || code !== 0) {
|
||||
return Astro.redirect("/404");
|
||||
}
|
||||
@ -31,11 +31,11 @@ if (!data || code !== 0) {
|
||||
style="grid-column: 1 / 3;grid-row: 1 / 2;"
|
||||
>
|
||||
<BreadComponent
|
||||
data={[{ title: "新闻中心", link: "/news" }]}
|
||||
data={[{ title: "行业专栏", link: "/news" }]}
|
||||
/>
|
||||
<div class="archive-description">
|
||||
<p>
|
||||
SEO教程,SEO入门课程,定期分析SEO技术,大量SEO实战案例,SEO学习课程,快速掌握SEO技术。
|
||||
欢迎来到我们的<a href="/news">行业专栏</a>,这里汇聚了关于数字营销、SEO优化及互联网行业最新动态的深度分析与实战经验。随着数字化转型的加速,越来越多的企业在探索如何在互联网浪潮中脱颖而出。我们专注于为营销人员、SEO专家以及各类企业提供最新的行业洞察、策略解析以及实用技巧。
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user