---
// Layout for long-form organizer guides authored as Markdown pages under /events/.
import Base from './Base.astro';
interface Frontmatter {
title: string;
summary?: string;
}
const { frontmatter } = Astro.props as { frontmatter: Frontmatter };
const guides = [
{ slug: 'hackathon', label: 'Hackathon' },
{ slug: 'meetup', label: 'Meetup' },
{ slug: 'unconference', label: 'Unconference' },
];
const current = Astro.url.pathname.replace(/\/$/, '').split('/').pop();
const others = guides.filter((g) => g.slug !== current);
---
Back to events
{frontmatter.title}
{frontmatter.summary && {frontmatter.summary}
}