diff --git a/astro.config.ts b/astro.config.ts index bf0daa5..973feb9 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -35,7 +35,7 @@ const titleCase = (name: string): string => name.replace(/-/g, ' ').replace(/^./ const kinds = [ {kind: 'plugin', label: 'Plugins', es: 'Plugins', dir: 'plugins'}, - {kind: 'package', label: 'Packages', es: 'Paquetes', dir: 'packages'}, + {kind: 'package', label: 'npm packages', es: 'Paquetes npm', dir: 'packages'}, ] as const; /** diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 1c88e05..362a899 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,22 +1,6 @@ --- /** - * The foot of a page of the documentation: the link to edit the page, and the foot of the site (see ProjectFoot.astro). There is no - * "previous / next" here: the way through the documentation is the guide of each product, not the order of its files. + * The foot of a page of the documentation. It draws nothing: the site foot is added after the content (see PageFrame.astro), and the + * pages have no "edit this page" link, no "last updated" and no previous/next, which Starlight would otherwise draw here. */ -import MIcon from './MIcon.astro'; -import {t} from '../lib/site'; - -const route = Astro.locals.starlightRoute; -const lang = route.lang; -const editUrl = route.editUrl; --- - -{ - editUrl && ( -
- ) -} diff --git a/src/components/ProjectFoot.astro b/src/components/ProjectFoot.astro index 95a4f95..7695da2 100644 --- a/src/components/ProjectFoot.astro +++ b/src/components/ProjectFoot.astro @@ -55,14 +55,12 @@ const avatar = (url: string): string => `${url}${url.includes('?') ? '&' : '?'}s - + - -