Why I rebuilt this site with Astro
The previous version of this site fit in a single 87 KB HTML file, with the styles and scripts in the same place. For an online résumé, that was enough. For publishing articles, it was not: every new page would have been one more copy to keep up to date.
What changes
The site is now built with Astro. Every page is generated ahead of time as static HTML. The browser receives almost no JavaScript: only the audio player, the mobile menu and the text effect on the home page.
Blog posts are MDX files in the repository. To publish one, I add a file, push to GitHub, and Vercel rebuilds the site.
The site is also bilingual. French lives at the root, English under /en/, and every page tells search engines where its translation is.
Being found by search engines and AI assistants
People now ask their questions to ChatGPT, Perplexity, Claude or Google’s AI Overviews. These tools read the HTML of a page, the same way a search engine does. The site gives them:
- complete HTML on the first load, with no content waiting on a script;
- JSON-LD structured data:
Personon the home page,BlogPostingand a breadcrumb on every post; - a sitemap, an RSS feed and an
/en/llms.txtfile that sums up my background and my companies in plain text; - a
robots.txtthat lets indexing bots through.
The home page content and the llms.txt content come from the same data file. When I update a project, both change together.
What comes next
The next posts will cover what I am building: AI tools for construction, finding public funding, and technology leadership for small and mid-sized businesses.