Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Astro 5.0 & Custom Content Loader #42

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open

Astro 5.0 & Custom Content Loader #42

wants to merge 17 commits into from

Conversation

mosugi
Copy link
Owner

@mosugi mosugi commented Jan 27, 2025

No description provided.

- Upgrade @astrojs/check from ^0.8.1 to ^0.9.4
- Upgrade @astrojs/sitemap from ^3.1.6 to ^3.2.1
- Upgrade @astrojs/tailwind from ^5.1.0 to ^5.1.4
- Upgrade astro from ^4.11.5 to ^5.1.1
- Upgrade dependencies in package-lock.json accordingly
- Updated tsconfig.json to include .astro/types.d.ts and exclude dist
- Upgraded astro from 4.11.5 to 5.1.1
- Updated various dependencies in package.json and package-lock.json
feat(loader): implement loader functionality and update config (loader)
```
- Remove the loader.astro page and replace it with dynamic slug support.
- Update content.config.ts to use query parameters for database_id.
- Enhance loader.ts to manage loading pages with blocks and ensure
  proper data handling.
- Introduce a new [slug].astro page to serve individual entries
  from the collection.
- Removed the index.astro file as it is no longer needed.
- Changed return type of getPagePropertyText from string | null
  to string | undefined.
- Renamed [slug].astro to [...slug].astro for better handling of dynamic
  routes.
- Updated linkToPages to use optional properties for url and title.

(loader)
Copy link

vercel bot commented Jan 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
notro-tail ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 31, 2025 9:27am

- Updated README to specify Astro 5.0 requirement.
- Added .astro/data-store.json path to Tailwind config.
- Restored Footer component in Layout.
- Enhanced Header and Footer components to check 'Type' property.
- Updated CalloutOrContainer to support both ASCII and full-width quotes.
- Modified Notion utility to handle multi-select properties.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant