返回 DeepSeek-Reasonix
index.astro
根目录 / site / src / pages / changelog / index.astro
1 ---
2 import ChangelogPage from '../../components/ChangelogPage.astro';
3 import { latestStableRelease, releases, releasePath } from '../../data/releases';
4
5 /* /changelog/ renders the latest release but canonicalizes to its version URL
6 to avoid duplicate content with /changelog/vX.Y.Z/. */
7 const canonical = new URL(releasePath(latestStableRelease.version), Astro.site).href;
8 ---
9
10 <ChangelogPage release={latestStableRelease} releases={releases} canonical={canonical} />
11
11 lines Plain Text