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,