"""
Shared templates configuration for FastAPI application.

This module provides centralized Jinja2 template configuration.
"""
from pathlib import Path

from fastapi.templating import Jinja2Templates

# Configure templates - shared across controllers
TEMPLATES_DIR = Path(__file__).parent.parent / "web" / "templates"
templates = Jinja2Templates(directory=str(TEMPLATES_DIR))