From 39797329ce3d904e231582399ac4f88d607755b0 Mon Sep 17 00:00:00 2001 From: Alex Jurubita Date: Mon, 1 Oct 2018 14:07:18 +0100 Subject: [PATCH] Add navigation and meta links to footer component --- CHANGELOG.md | 1 + .../components/_layout_footer.html.erb | 44 ++++++- .../components/docs/layout_footer.yml | 120 +++++++++++++++++- spec/components/layout_footer_spec.rb | 26 ++++ 4 files changed, 187 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9459438654..c7849df8bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ * You can now use `GovukPublishingComponents::AppHelpers::Environment.current_acceptance_environment` to get the current environment, for use in the admin layout components (PR #548) * Update GOV.UK Frontend from 1.2.0 to 2.1.0 and manage breaking changes (PR #545) +* Add navigation and meta links to footer component (PR #550) ## 11.0.0 diff --git a/app/views/govuk_publishing_components/components/_layout_footer.html.erb b/app/views/govuk_publishing_components/components/_layout_footer.html.erb index fab12cff9a..61d4225c06 100644 --- a/app/views/govuk_publishing_components/components/_layout_footer.html.erb +++ b/app/views/govuk_publishing_components/components/_layout_footer.html.erb @@ -1,8 +1,50 @@ +<% + meta ||= [] + navigation ||= [] +%>