DEV: Add parameter to plugin outlet (#37)

This adds a parameters to the args hash of the before-docs-search plugin outlet so we can access tags via theme components using this outlet.
This commit is contained in:
Justin DiRose 2021-03-15 11:23:37 -05:00 committed by GitHub
parent c7376c243d
commit f61de2d871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<div class="docs"> <div class="docs">
{{plugin-outlet name="before-docs-search" args=(hash selectCategory=(action "updateSelectedCategories"))}} {{plugin-outlet name="before-docs-search" args=(hash selectCategory=(action "updateSelectedCategories") tags=indexController.tags )}}
{{docs-search {{docs-search
searchTerm=(readonly indexController.searchTerm) searchTerm=(readonly indexController.searchTerm)
onSearch=(action "performSearch") onSearch=(action "performSearch")