main.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. <h2 class="awesome-django-footer__title">Looking for more cool projects?</h2>
  20. <p class="awesome-django-footer__lede">
  21. Django News is a free weekly newsletter. It covers new packages,
  22. articles, releases, and jobs from across the Django community.
  23. </p>
  24. <div class="awesome-django-newsletter">
  25. <iframe
  26. src="https://django-news.com?as_embed=true"
  27. scrolling="no"
  28. loading="lazy"
  29. title="Subscribe to Django News"></iframe>
  30. </div>
  31. <div class="awesome-django-webring">
  32. <webring-css site="https://awesomedjango.org"></webring-css>
  33. <script src="https://djangowebring.com/static/webring.js"></script>
  34. </div>
  35. <p>
  36. Please consider supporting Django by making a donation to the
  37. <a rel="sponsored" href="https://www.djangoproject.com/fundraising/">Django Software Foundation</a>,
  38. sponsoring via <a rel="sponsored" href="https://github.com/sponsors/django">GitHub Sponsors</a>,
  39. or buying <a rel="sponsored" href="https://django.threadless.com/">official merchandise</a>.
  40. </p>
  41. <p>
  42. Awesome Django is not associated with the Django Software Foundation.<br />
  43. Django is a registered trademark of the Django Software Foundation.
  44. </p>
  45. </div>
  46. {# The theme's own meta bar: copyright, "Made with Zensical", social links. #}
  47. <div class="md-footer-meta md-typeset">
  48. <div class="md-footer-meta__inner md-grid">
  49. {% include "partials/copyright.html" %}
  50. {% if config.extra.social %}
  51. {% include "partials/social.html" %}
  52. {% endif %}
  53. </div>
  54. </div>
  55. </footer>
  56. {% endblock %}