@@ -6,7 +6,8 @@ import liveData from '../data/live.json';
66
77const { agiIndex : AGI_INDEX, benchmarks, eta, updatedAt, history } = liveData ;
88const base = import .meta .env .BASE_URL ;
9- const siteUrl = ' https://brayanjeshua.github.io/agi-clock' ;
9+ const assetBase = base .endsWith (' /' ) ? base : ` ${base }/ ` ;
10+ const siteUrl = ' https://brayanjeshua.github.io/agi-clock/' ;
1011const updatedLabel = new Date (updatedAt ).toLocaleDateString (' en-US' , {
1112 month: ' short' ,
1213 day: ' numeric' ,
@@ -33,7 +34,7 @@ const trendLabel = (trend: string) => {
3334 content =" AGI Clock is an open-source benchmark tracker for measuring AI progress toward expert-human performance."
3435 />
3536 <title >AGI Clock — Open-source AGI progress tracker</title >
36- <link rel =" icon" type =" image/svg+xml" href ={ ` ${base }favicon.svg ` } />
37+ <link rel =" icon" type =" image/svg+xml" href ={ ` ${assetBase }favicon.svg ` } />
3738 <meta property =" og:title" content =" AGI Clock — Open-source AGI progress tracker" />
3839 <meta
3940 property =" og:description"
@@ -47,7 +48,7 @@ const trendLabel = (trend: string) => {
4748 name =" twitter:description"
4849 content =" Open-source tracker of AI benchmark progress toward Artificial General Intelligence."
4950 />
50- <link rel =" sitemap" href ={ ` ${base }sitemap-index.xml ` } />
51+ <link rel =" sitemap" href ={ ` ${assetBase }sitemap-index.xml ` } />
5152 <script type =" application/ld+json" set:html ={ JSON .stringify ({
5253 ' @context' : ' https://schema.org' ,
5354 ' @type' : ' WebSite' ,
0 commit comments