Skip to content

Commit

Permalink
Fix year variable (#22)
Browse files Browse the repository at this point in the history
- The `{{year}}` variable was missing from the template context.
  • Loading branch information
tib authored Oct 10, 2024
1 parent 26c5aba commit bda74de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/ToucanSDK/Site/Types/Output+HTML.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ struct HTML: Output {
"site": site,
"page": page,
"pagination": pagination,
"year": year
]
)
.sanitized()
Expand Down

0 comments on commit bda74de

Please sign in to comment.