FastAPI website

Reusable pages with one shared menu.

This homepage uses the same header, navigation, stylesheet, and script as every other page. Only the page content changes.

Learn more

Shared Layout

The menu lives in templates/base.html, so updating it once updates every page.

Dynamic Routes

Each FastAPI route renders a template and passes page data like the title and active menu item.

Static Assets

CSS and JavaScript are served from the static directory.