Skip to content

Commit

Permalink
chore: Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrenskers committed Nov 23, 2023
1 parent a5a4122 commit 5a2cc9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<EmptyMetadata, EmptyMetadata>) -> Node {
func renderPage(context: ItemRenderingContext<EmptyMetadata>) -> Node {
html(lang: "en-US") {
body {
div(id: "content") {
Expand All @@ -26,7 +26,7 @@ func renderPage(context: ItemRenderingContext<EmptyMetadata, EmptyMetadata>) ->
@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,
Expand Down

0 comments on commit 5a2cc9c

Please sign in to comment.