<footer class="mdl-mini-footer">
    <div class="mdl-mini-footer__left-section">
      <div class="mdl-logo">{{ project }}</div>
      <div>
        {% set toctree = toctree(maxdepth=1, collapse=False, includehidden=False, titles_only=False) %}
        {{ toctree }}
      </div>
    </div>

    <div class="mdl-mini-footer__right-section">
    {%- if show_copyright %}
      {%- if hasdoc('copyright') %}
        <div>{% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}</div>
      {%- else %}
        <div>{% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}</div>
      {%- endif %}
    {%- endif %}
    {%- if last_updated %}
      <div>{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}</div>
    {%- endif %}
    {%- if show_sphinx %}
      <div>{% trans sphinx_version=sphinx_version|e %}Generated by <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }} using <a href="https://github.com/zaniphrom/sphinx_iowmd_theme">sphinx_iowmd_theme</a>.{% endtrans %}</div>
    {%- endif %}

    {%- if theme_analytics_id %}
    <!-- theme Google Analytics support. Use analytics_id in conf.py options-->
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id={{ theme_analytics_id }}"></script>
    <script>
      window['ga-disable-{{ theme_analytics_id }}'] = true;
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());

      gtag('config', '{{ theme_analytics_id }}', { 'anonymize_ip': true }, {'allow_google_signals': false});
    </script>

    {%- endif %}


    </div>
</footer>
