Skip to content

Commit

Permalink
Fix the example project
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrenskers committed Nov 19, 2024
1 parent 384e5ad commit 26e9138
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Example/Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@
"repositoryURL": "https://github.com/loopwerk/SagaParsleyMarkdownReader",
"state": {
"branch": null,
"revision": "d4fe9fca9829c1fb294af0160c23d5fc4bcf5fe4",
"version": "0.6.0"
"revision": "f2d0038703f72b8a15943c0ddd591feba20d2ed3",
"version": "0.7.0"
}
},
{
"package": "SagaSwimRenderer",
"repositoryURL": "https://github.com/loopwerk/SagaSwimRenderer",
"state": {
"branch": null,
"revision": "ee8c082934d1daf0a6819b8120170dd60760b9a9",
"version": "0.8.0"
"revision": "79032c8a51b84f2be739a93fa2faad5dabd8ff56",
"version": "0.9.0"
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions Example/Sources/Example/templates.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ func renderArticle(context: ItemRenderingContext<ArticleMetadata>) -> Node {
div(id: "article") {
h1 { context.item.title }
h2 {
context.item.date.formatted("dd MMMM")+", "
a(href: "/articles/\(context.item.date.formatted("yyyy"))/") { context.item.date.formatted("yyyy") }
context.item.published.formatted("dd MMMM")+", "
a(href: "/articles/\(context.item.published.formatted("yyyy"))/") { context.item.published.formatted("yyyy") }
}
ul {
context.item.metadata.tags.map { tag in
Expand Down

0 comments on commit 26e9138

Please sign in to comment.