@ -1,6 +1,6 @@
|
||||
---
|
||||
import Layout from "@/layouts/Layout.astro"
|
||||
import Article from "@/components/pages/article.astro"
|
||||
import RunwayLookDetail from "@/components/RunwayLooksDetail.astro"
|
||||
import { fetchArticleById } from "@/lib/data"
|
||||
|
||||
// 按需 SSR:服务端按 ?id= 取数并渲染(保留既有 /en/article?id= 链接,无需改动其他页面)
|
||||
@ -23,5 +23,5 @@ if (!id) {
|
||||
---
|
||||
|
||||
<Layout>
|
||||
<Article article={article} locale="en" apiBase={API} error={error} />
|
||||
<RunwayLookDetail article={article} locale="en" apiBase={API} error={error} />
|
||||
</Layout>
|
||||
|
||||
Reference in New Issue
Block a user