forum_tos.html 595 B

12345678910111213141516171819202122
  1. {% extends "cranefly/layout.html" %}
  2. {% load i18n %}
  3. {% import "cranefly/macros.html" as macros with context %}
  4. {% block title %}{% if settings.tos_title -%}
  5. {{ macros.page_title(title=settings.tos_title) }}
  6. {%- else -%}
  7. {{ macros.page_title(title=_('Terms of Service')) }}
  8. {%- endif %}{% endblock %}
  9. {% block content %}
  10. <div class="page-header">
  11. <h1>{% if settings.tos_title -%}
  12. {{ settings.tos_title }}
  13. {%- else -%}
  14. {% trans %}Terms of Service{% endtrans %}
  15. {%- endif %}</h1>
  16. </div>
  17. <div class="markdown">
  18. {{ settings.tos_content|markdown|safe }}
  19. </div>
  20. {% endblock %}