from __future__ import annotations from pathlib import Path import unittest class HomeTemplateTests(unittest.TestCase): def test_recent_activity_adds_only_latest_devlog_from_each_project(self) -> None: site_root = Path(__file__).resolve().parents[1] template = (site_root / "templates" / "home.html").read_text(encoding="utf-8") recent_activity = template.split( '