Updated to Astro v5 beta.
All checks were successful
Build and deploy website / build (push) Successful in 1m56s

Created a new component for a collapsable list

Implemented some of the new features.
- astro:env
- New astro content layer

Signed-off-by: Martin Berg Alstad <git@martials.no>
This commit is contained in:
2024-10-20 12:05:32 +02:00
parent 32f4c6aaf0
commit 941a93f8a5
17 changed files with 423 additions and 571 deletions

View File

@ -1,7 +1,7 @@
---
import Layout from "@/layouts/Layout.astro"
import { Image } from "astro:assets"
import { getEntry } from "astro:content"
import { getEntry, render } from "astro:content"
import BadgeList from "../badge/BadgeList.astro"
import * as m from "@/paraglide/messages"
import { languageTag } from "@/paraglide/runtime"
@ -15,7 +15,7 @@ interface Props {
const { project } = Astro.props
const entry = await getEntry("projects", project)
const { Content } = await entry!.render()
const { Content } = await render(entry)
const {
title,
description,