From 5a2cc9c939f467a22bcb496b6f4243bda4277203 Mon Sep 17 00:00:00 2001 From: Kevin Renskers Date: Thu, 23 Nov 2023 08:08:46 +0100 Subject: [PATCH] chore: Update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3b82ca2..02b0d82 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Saga is quite flexible: for example you can have one set of metadata for the art ## Syntax ```swift -func renderPage(context: ItemRenderingContext) -> Node { +func renderPage(context: ItemRenderingContext) -> Node { html(lang: "en-US") { body { div(id: "content") { @@ -26,7 +26,7 @@ func renderPage(context: ItemRenderingContext) -> @main struct Run { static func main() async throws { - try await Saga(input: "content", output: "deploy", siteMetadata: EmptyMetadata()) + try await Saga(input: "content", output: "deploy") // All files will be parsed to html. .register( metadata: EmptyMetadata.self,