footer.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <footer>
  2. {% if (theme_prev_next_buttons_location == 'bottom' or theme_prev_next_buttons_location == 'both') and (next or prev) %}
  3. <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
  4. {% if next %}
  5. <a href="{{ next.link|e }}" class="btn btn-neutral float-right" title="{{ next.title|striptags|e }}" accesskey="n" rel="next">{{ _('Next') }} <span class="fa fa-arrow-circle-right"></span></a>
  6. {% endif %}
  7. {% if prev %}
  8. <a href="{{ prev.link|e }}" class="btn btn-neutral" title="{{ prev.title|striptags|e }}" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> {{ _('Previous') }}</a>
  9. {% endif %}
  10. </div>
  11. {% endif %}
  12. <hr/>
  13. <div role="contentinfo">
  14. <p>
  15. {%- if show_copyright %}
  16. {%- if hasdoc('copyright') %}
  17. {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
  18. {%- else %}
  19. {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.<br/>
  20. The Jupyter Trademark is registered with the U.S. Patent &amp Trademark Office.
  21. {% endtrans %}
  22. {%- endif %}
  23. {%- endif %}
  24. {%- if build_id and build_url %}
  25. {% trans build_url=build_url, build_id=build_id %}
  26. <span class="build">
  27. Build
  28. <a href="{{ build_url }}">{{ build_id }}</a>.
  29. </span>
  30. {% endtrans %}
  31. {%- elif commit %}
  32. {% trans commit=commit %}
  33. <span class="commit">
  34. Revision <code>{{ commit }}</code>.
  35. </span>
  36. {% endtrans %}
  37. {%- elif last_updated %}
  38. {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
  39. {%- endif %}
  40. </p>
  41. </div>
  42. {%- if show_sphinx %}
  43. {% trans %}Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>{% endtrans %}.
  44. {%- endif %}
  45. {%- block extrafooter %} {% endblock %}
  46. </footer>