base.html 1018 B

1234567891011121314151617181920212223242526272829303132333435
  1. {# Set the "user" variable for all derived templates. #}
  2. {% set user = user() %}
  3. {# This template is used as base to wrap every page.
  4. # It contains header and footer HTML.
  5. #}
  6. <!DOCTYPE html>
  7. <html lang="en">
  8. <head>
  9. <meta charset = "utf-8" />
  10. <meta content = "width=device-width, initial-scale=1.0"
  11. name = "viewport" />
  12. <link href = "{{ url('static_assets', filename='css/dokk.css') }}"
  13. rel = "stylesheet" />
  14. {# For custom <meta /> #}
  15. {% block meta %}{% endblock %}
  16. {# For custom CSS styles #}
  17. {% block css %}{% endblock %}
  18. <title>{{ dokk and (dokk['title'] + ' - ') or '' }}DOKK</title>
  19. </head>
  20. <body>
  21. {% block body %}{% endblock %}
  22. <script id="dokk.js" data-suggest="{{ url('suggest') }}" src="{{ url('static_assets', filename='js/dokk.min.js') }}"></script>
  23. {% block javascript %}{% endblock %}
  24. </body>
  25. </html>