diff --git a/README.md b/README.md index 9287b63fa6..866f749952 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# swift-url-routing +# URL Routing [](https://swiftpackageindex.com/pointfreeco/swift-url-routing) [](https://swiftpackageindex.com/pointfreeco/swift-url-routing) @@ -99,16 +99,16 @@ appRouter.path(for: .searchBooks(query: "Blob Bio")) ``` ```swift -Node.ul( - books.map { book in - .li( - .a( - .href(appRouter.path(for: .book(id: book.id))), +ul { + for book in books { + li { + a { book.title - ) - ) + } + .href(appRouter.path(for: .book(id: book.id))) + } } -) +} ``` ```html