Website for the most important Python event in Spain in the year 2026.
- Node.js v22.0.0 (see
.nvmrc) - pnpm
pnpm 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.
The release workflow automatically detects version changes in package.json. When you push to main with an updated version, it automatically:
- Creates a git tag
- Generates a changelog from commit history
- Creates a GitHub Release
Deployment is manual and triggered from GitHub Actions:
- Go to Actions → Deploy to GitHub Pages
- Select the tag you want to deploy (e.g.,
v1.0.0) - Click Run workflow
The site is deployed to GitHub Pages at https://2026.es.pycon.org/.