Mirror of
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix build issue

deploy

+1 -2
+1 -2
starlight/src/components/utils.ts
··· 1 1 import starlightConfig from "virtual:starlight/user-config"; 2 - import config from "virtual:starlight-blog-config"; 3 2 4 3 export function isAnyBlogPostPage(slug: string) { 5 4 return ( 6 5 new RegExp( 7 6 `^${getPathWithLocale( 8 - config.prefix, 7 + "blog", 9 8 getLocaleFromPath(slug) 10 9 )}/(?!(\\d+/?|tags/.+|authors/.+)$).+$` 11 10 ).exec(slug) !== null