Page Setup

To add a page, create a new file in the src/pages directory. The file name will be used as the URL path.

Import the correct layout component and pass the title and breadcrumbs to it.

    
    ---
    import Layout from '../layouts/minimum-layout.astro';

    const title = "title of the page";

    const breadcrumbs = [
        { label: 'Home', href: './' },
        { label: 'Sample Page', href: './' },
        { label: 'Astro Minimum Theme', href: './' }
    ]    
    ---
    
    <Layout title={title} breadcrumbs={breadcrumbs}>
        <h1>A headline</h1>
        <p>Some text content.</p>
    </Layout>