File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import {
1313export function getStaticPaths() {
1414 return Object .keys (languages ).map ((lang ) => {
1515 const translatePath = useTranslatedPath (lang as keyof typeof languages );
16- let pipi = translatePath (" acerca-de" ).split (" /" ).pop ();
1716 return {
1817 params: {
1918 lang: lang !== defaultLang ? lang : undefined ,
@@ -27,7 +26,7 @@ const lang = getLangFromUrl(Astro.url);
2726const slug = getUrlWithoutLang (Astro .url );
2827const t = useTranslations ((lang ?? defaultLang ) as keyof typeof languages );
2928const page = (await getEntry (" pages" , ` ${lang }/${slug } ` ))! ;
30- const { Content, headings } = await page .render ();
29+ const { Content } = await page .render ();
3130---
3231
3332<Layout title ={ t (" nav.about" )} >
You can’t perform that action at this time.
0 commit comments