From 67f945ff6d491c44e033cdfdb6785bc31f3cef46 Mon Sep 17 00:00:00 2001 From: Stephen Celis Date: Sun, 23 Feb 2025 16:20:39 -0800 Subject: [PATCH] README updates Just a few little things that stood out when revisiting. --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fpointfreeco%2Fswift-url-routing%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/pointfreeco/swift-url-routing) [![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fpointfreeco%2Fswift-url-routing%2Fbadge%3Ftype%3Dplatforms)](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