{% if footer %}
<footer class="usa-footer usa-footer-medium" role="contentinfo">

  {% if footer.last_updated %}
    <div class="usa-grid">
      <div class="usa-width-one-whole">
        <p>Last updated: {{ page.last_modified_at | date: '%B %d, %Y at %I:%M %p' }}</p>
      </div>
    </div>
  {% endif %}

  {% if footer.top %}
    <div class="usa-grid usa-footer-return-to-top">
      <a href="{{ footer.top.href | default: '#' }}">{{ footer.top.text | default: 'Return to top' }}</a>
    </div>
  {% endif %}