Skip to content

Commit

Permalink
fix: package name forbidden
Browse files Browse the repository at this point in the history
  • Loading branch information
hrenaud committed Feb 11, 2024
1 parent e2608f6 commit 6ce65e2
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---
import { getLangFromUrl } from "@i18n/utils";
const { notIndexable = false } = Astro.props;
// pour ne pas indexer deux fois la page index qui avec et sans slug /index et /fr/index
const indexOrNot = !notIndexable && { "data-pagefind-body": true };
Expand Down
2 changes: 1 addition & 1 deletion src/pages/[lang]/index.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import Seo from "@components/Seo.astro";
import getMDXcomponents from "@components/mdx/getMDXcomponents";
import PageView from "@components/pages/PageView.astro";
import PageView from "@components/page/PageView.astro";
import { TinaReactHelper } from "@components/tinacms/react";
import { getIndexPageByLang } from "@contentConfig";
import { code_languages } from "@i18n/ui";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/[lang]/mentions-legales.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import Seo from "@components/Seo.astro";
import PageView from "@components/pages/PageView.astro";
import PageView from "@components/page/PageView.astro";
import { TinaReactHelper } from "@components/tinacms/react";
import { getMentionsLegalesByLang } from "@contentConfig";
import { code_languages } from "@i18n/ui";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import Seo from "@components/Seo.astro";
import getMDXcomponents from "@components/mdx/getMDXcomponents";
import PageView from "@components/pages/PageView.astro";
import PageView from "@components/page/PageView.astro";
import { getIndexPageByLang } from "@contentConfig";
import { getLangFromUrl, useTranslations } from "@i18n/utils";
import Base from "@layouts/Base.astro";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/mentions-legales.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import Seo from "@components/Seo.astro";
import PageView from "@components/pages/PageView.astro";
import PageView from "@components/page/PageView.astro";
import { getMentionsLegalesByLang } from "@contentConfig";
import { getLangFromUrl, useTranslations } from "@i18n/utils";
import Base from "@layouts/Base.astro";
Expand Down

0 comments on commit 6ce65e2

Please sign in to comment.