Shared HTML template for the Website service (#22)

This PR contains the work done to define a `Page` protocol that extracts the HTML scaffolding that `IndexPage` and `ErrorPage` pages duplicated, so every page of the website declares only what makes it unique — its content, title, and assets — while the document structure lives in one place. Also cleans up imports across the workspace.

Reviewed-on: rock-n-code/loud-amsterdam#22
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
This commit is contained in:
2026-07-19 08:56:35 +00:00
committed by javier
parent 6bdc127057
commit d0058dc636
10 changed files with 139 additions and 95 deletions
@@ -1,4 +1,3 @@
import Foundation
import Testing
@testable import WebsiteLibrary