main.html 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {% extends "base.html" %}
  2. {#
  3. Carried over from the Jekyll theme:
  4. - _includes/head_custom.html (favicon, fork ribbon, umami analytics)
  5. - _config.yml footer_content (Django News embed, webring, DSF notice)
  6. #}
  7. {% block extrahead %}
  8. <link rel="icon" href="https://fav.farm/&#129412;" />
  9. <script defer src="https://uma.cog.gs/script.js" data-website-id="744740f8-2ff1-4a59-9e0f-7740fc8ca3c4"></script>
  10. {% endblock %}
  11. {#
  12. The theme's footer block wraps the whole <footer> element, so calling
  13. super() first would leave this content outside it. Rebuild the footer
  14. instead: our content sits above the theme's meta bar, inside the footer.
  15. #}
  16. {% block footer %}
  17. <footer class="md-footer">
  18. <div class="awesome-django-footer md-grid">
  19. <div class="awesome-django-newsletter">
  20. <iframe
  21. src="https://django-news.com?as_embed=true"
  22. scrolling="no"
  23. loading="lazy"
  24. title="Subscribe to Django News"></iframe>
  25. </div>
  26. <div class="awesome-django-webring">
  27. <webring-css site="https://awesomedjango.org"></webring-css>
  28. <script src="https://djangowebring.com/static/webring.js"></script>
  29. </div>
  30. <p>
  31. Please consider supporting Django by making a donation to the
  32. <a rel="sponsored" href="https://www.djangoproject.com/fundraising/">Django Software Foundation</a>,
  33. sponsoring via <a rel="sponsored" href="https://github.com/sponsors/django">GitHub Sponsors</a>,
  34. or buying <a rel="sponsored" href="https://django.threadless.com/">official merchandise</a>.
  35. </p>
  36. <p>
  37. Awesome Django is not associated with the Django Software Foundation.<br />
  38. Django is a registered trademark of the Django Software Foundation.
  39. </p>
  40. </div>
  41. {# The theme's own meta bar: copyright, "Made with Zensical", social links. #}
  42. <div class="md-footer-meta md-typeset">
  43. <div class="md-footer-meta__inner md-grid">
  44. {% include "partials/copyright.html" %}
  45. {% if config.extra.social %}
  46. {% include "partials/social.html" %}
  47. {% endif %}
  48. </div>
  49. </div>
  50. </footer>
  51. {% endblock %}