Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use absolute nunjucks import path
The "header" component macro currently imports the "site-search" macro using a relative URL. This prevents customisation of the "site-search" macro using the Nunjucks import prioritisation logic. Bringing this import inline with other import syntax across the plugin fixes this issue. For example, a consuming 11ty app wants to override the site-search macro, so can now create a "_includes/components/site-search/macro.njk" template to do that.
- Loading branch information