Website for the most important Python event in Spain in the year 2026.
- Node.js v22.0.0 (see
.nvmrc) - pnpm
- pre-commit
pnpm install
pre-commit installpnpm devpnpm buildpnpm previewTo maintain good SEO and consistency as the project grows, follow these guidelines when adding new pages:
New pages should be created in src/pages/[lang]/ using getStaticPaths.
- Ensure you use the
<Layout>component. - Always provide a unique
titleanddescriptionto the Layout.
Example:
---
import Layout from '../../layouts/Layout.astro'
// ...
---
<Layout title="Your Page Title" description="Concise description (150-160 chars)">
<!-- Content -->
</Layout>- Semantic HTML: Use only one
<h1>per page. Follow a logical heading hierarchy (<h2>,<h3>). - Image Alt Tags: All
<img>tags MUST have descriptivealtattributes. - Internal Linking: Use descriptive link text (avoid "click here").
- Set the
PUBLIC_GA_IDenvironment variable in your.envfile to enable Google Analytics.PUBLIC_GA_ID=G-XXXXXXXXXX
- The main event structured data (JSON-LD) is globally included in
Layout.astro. - For specific pages (like "Sponsors" or "Talks"), consider adding additional schema.org types locally if necessary.
- The sitemap is automatically generated on every build. No manual action is required.