diff --git a/x-govuk/components/primary-navigation/template.njk b/x-govuk/components/primary-navigation/template.njk
index bc8dcef..b7e8281 100644
--- a/x-govuk/components/primary-navigation/template.njk
+++ b/x-govuk/components/primary-navigation/template.njk
@@ -3,15 +3,15 @@
{{ params.visuallyHiddenTitle or "Menu" }}
- {%- for item in params.items %}
- {% if item.href %}
- -
-
- {{- item.text -}}
-
-
- {% endif %}
- {% endfor -%}
+ {%- for item in params.items %}
+ {% if item %}
+ -
+
+ {{- item.text -}}
+
+
+ {% endif %}
+ {% endfor -%}
diff --git a/x-govuk/components/related-navigation/template.njk b/x-govuk/components/related-navigation/template.njk
index 3044ecf..7b5f152 100644
--- a/x-govuk/components/related-navigation/template.njk
+++ b/x-govuk/components/related-navigation/template.njk
@@ -1,39 +1,39 @@
{% set headingLevel = params.headingLevel or 2 %}
diff --git a/x-govuk/components/secondary-navigation/template.njk b/x-govuk/components/secondary-navigation/template.njk
index 95df69f..17f224e 100644
--- a/x-govuk/components/secondary-navigation/template.njk
+++ b/x-govuk/components/secondary-navigation/template.njk
@@ -1,11 +1,13 @@
diff --git a/x-govuk/components/sub-navigation/template.njk b/x-govuk/components/sub-navigation/template.njk
index b828272..bdf69b8 100644
--- a/x-govuk/components/sub-navigation/template.njk
+++ b/x-govuk/components/sub-navigation/template.njk
@@ -1,25 +1,27 @@