---
const years = await Astro.glob("./archivio/*/index.md");
const currentYear = years
    .map((module) => module.file.split("/").at(-2))
    .toSorted()
    .at(-1);

const {
    Content,
    frontmatter: { title },
} = years.find((m) => m.file.includes(currentYear));
---

<Content />
