carpa-astro/src/pages/es/index.astro

27 lines
585 B
Plaintext

---
import { getCollection, render } from 'astro:content';
// Get all entries from a collection.
// Requires the name of the collection as an argument.
//const conferences = await getCollection('conferences');
const language = Astro.params;
---
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>Astro</title>
</head>
<body>
<h1>Astro</h1>
Language: { language }
</body>
</html>