Skip to content

Commit

Permalink
Import appSiteSearch component into appHeader component with context
Browse files Browse the repository at this point in the history
Without providing context, the canonicalUrl filter cannot be found
  • Loading branch information
paulrobertlloyd committed Dec 27, 2024
1 parent 70242dc commit 3da7794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/header/template.njk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- from "components/site-search/macro.njk" import appSiteSearch -%}
{%- from "components/site-search/macro.njk" import appSiteSearch with context -%}
{%- if options.navigation -%}
{%- set headerClasses = " govuk-header--full-width-border" -%}
{% elif layout == "product" or layout == "collection" %}
Expand Down

0 comments on commit 3da7794

Please sign in to comment.