Skip to content

Commit

Permalink
Comment out dynamic route parts
Browse files Browse the repository at this point in the history
  • Loading branch information
echus committed Jan 23, 2024
1 parent 01a7d99 commit 4705b77
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/pages/people/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
// const { Content } = await person.render();
---

<!--
<Person {...person.data}>
<Content />
</Person>
-->
6 changes: 4 additions & 2 deletions src/pages/people/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import BaseHead from "../../components/BaseHead.astro";
import Header from "../../components/Header.astro";
import Footer from "../../components/Footer.astro";
import { SITE_TITLE, SITE_DESCRIPTION } from "../../consts";
import { getCollection } from "astro:content";
// import { getCollection } from "astro:content";
import FormattedDate from "../../components/FormattedDate.astro";
const people = await getCollection("people");
// const people = await getCollection("people");
---

<!doctype html>
Expand All @@ -19,6 +19,7 @@ const people = await getCollection("people");
<Header />
<main>
<section>
<!--
<ul>
{
people.map((person) => (
Expand All @@ -30,6 +31,7 @@ const people = await getCollection("people");
))
}
</ul>
-->
</section>
</main>
<Footer />
Expand Down

0 comments on commit 4705b77

Please sign in to comment.