layout: move the landing footer to its own file
This commit is contained in:
parent
60475d0165
commit
755600acf4
3 changed files with 6 additions and 4 deletions
|
@ -30,8 +30,8 @@
|
|||
= render partial: "layouts/flash_messages"
|
||||
= yield
|
||||
|
||||
- if content_for?(:display_footer)
|
||||
= render partial: "layouts/new_footer"
|
||||
- if content_for?(:footer)
|
||||
= content_for(:footer)
|
||||
= render partial: "layouts/mailjet_newsletter"
|
||||
|
||||
= javascript_include_tag "new_design/application", "data-turbolinks-eval": false
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
%footer
|
||||
%footer.landing-footer
|
||||
.container
|
||||
%ul.footer-columns
|
||||
|
||||
%li.footer-column
|
||||
%ul.footer-logos
|
||||
%li.footer-text
|
|
@ -1,4 +1,5 @@
|
|||
- content_for(:display_footer, true)
|
||||
- content_for :footer do
|
||||
= render partial: "root/footer"
|
||||
|
||||
.landing
|
||||
.landing-panel.hero-panel
|
||||
|
|
Loading…
Reference in a new issue