Skip to content

Commit

Permalink
article-spring-projects.hbs passes undefined argument
Browse files Browse the repository at this point in the history
This is necessary because handlebars does not interpret [] as an
empty array all of the time. Instead it seems to pass in an antora related
object.
  • Loading branch information
rwinch committed Oct 17, 2023
1 parent daf1e79 commit 0b25515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/partials/article-spring-projects.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="container">
<h1 id="page-title" class="page">Spring Projects</h1>
<ul class="projects-list">
{{#each (related_projects [''] [''] (spring-projects))}}
{{#each (related_projects (undefined) (undefined) (spring-projects))}}
{{> related-project this}}
{{/each}}
</ul>
Expand Down

0 comments on commit 0b25515

Please sign in to comment.