Skip to content

Commit

Permalink
move footer from page.html.twig to html.html.twig
Browse files Browse the repository at this point in the history
Issue #46
  • Loading branch information
alisonjo315 committed Oct 7, 2022
1 parent 975e848 commit 80441d3
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
37 changes: 37 additions & 0 deletions templates/html.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,43 @@
{{ page }}
{{ page_bottom }}

<footer>
<div class="main-footer">
<div class="container-fluid sidebar-left">
<div class="row">
<div class="primary">
{{ page.footer_primary }}
</div>
<div class="secondary">
{{ page.footer_secondary }}
</div>
</div>
</div>
</div>
<div class="sub-footer">
<div class="container-fluid sidebar-left">
<div class="row">
<div class="content">
<div class="two-col">
<div>
<ul class="custom inline no-bullet">
{#<li><a href="https://www.cornell.edu">Cornell University</a> ©{{ "now"|date("Y") }}</li>#}
<li><a href="https://privacy.cornell.edu/">University Privacy</a></li>
</ul>
</div>
<div>
<ul class="custom inline no-bullet">
<li><a href="mailto:web-accessibility@cornell.edu">Web Accessibility Assistance</a></li>
</ul>
</div>
</div>
</div>
</div>
{{ page.subfooter }}
</div>
</div>
</footer>

<js-bottom-placeholder token="{{ placeholder_token|raw }}">
<!-- Emergency banner removed March 2021 -->
<!-- script src="https://embanner.univcomm.cornell.edu/OWC-emergency-banner.js" type="text/javascript" async></script -->
Expand Down
37 changes: 0 additions & 37 deletions templates/page.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -101,40 +101,3 @@
</div>
</div>
{% endif %}

<footer>
<div class="main-footer">
<div class="container-fluid sidebar-left">
<div class="row">
<div class="primary">
{{ page.footer_primary }}
</div>
<div class="secondary">
{{ page.footer_secondary }}
</div>
</div>
</div>
</div>
<div class="sub-footer">
<div class="container-fluid sidebar-left">
<div class="row">
<div class="content">
<div class="two-col">
<div>
<ul class="custom inline no-bullet">
{#<li><a href="https://www.cornell.edu">Cornell University</a> ©{{ "now"|date("Y") }}</li>#}
<li><a href="https://privacy.cornell.edu/">University Privacy</a></li>
</ul>
</div>
<div>
<ul class="custom inline no-bullet">
<li><a href="mailto:web-accessibility@cornell.edu">Web Accessibility Assistance</a></li>
</ul>
</div>
</div>
</div>
</div>
{{ page.subfooter }}
</div>
</div>
</footer>

0 comments on commit 80441d3

Please sign in to comment.